Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jburget committed Jun 14, 2023
1 parent f5e0c29 commit 61ca5ca
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1

FROM python:3.8-slim-buster

WORKDIR /flask-app

COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt

COPY . .

EXPOSE 5000

CMD [ "python3", "-m", "flask", "init-db"]
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]

0 comments on commit 61ca5ca

Please sign in to comment.