moved dockerfile
This commit is contained in:
15
Dockerfile
Executable file
15
Dockerfile
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
FROM python:3.14-slim
|
||||||
|
|
||||||
|
ARG DEBUG_MODE=0
|
||||||
|
ENV FLASK_DEBUG=$DEBUG_MODE
|
||||||
|
ENV FLASK_APP=app
|
||||||
|
|
||||||
|
RUN mkdir /app
|
||||||
|
COPY app/requirements.txt /app
|
||||||
|
RUN pip3 install -r /app/requirements.txt
|
||||||
|
COPY app /app
|
||||||
|
|
||||||
|
ENTRYPOINT ["flask"]
|
||||||
|
CMD ["--app", "app", "run", "--host=0.0.0.0", "--port=80"]
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user