updated compose and moved dockerfile
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
FROM python:3.10-slim AS builder
|
||||
|
||||
ARG DEBUG_MODE=0
|
||||
ENV FLASK_DEBUG=$DEBUG_MODE
|
||||
ENV FLASK_APP=app
|
||||
|
||||
|
||||
|
||||
COPY requirements.txt
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
EXPOSE 443
|
||||
ENTRYPOINT ["flask"]
|
||||
# CMD [ "run", "--host=0.0.0.0", "--port=80"]
|
||||
CMD ["--app", "app", "run", "--host=0.0.0.0", "--port=443"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user