Added db and web. Modified things. A lot.
This commit is contained in:
17
telemovris_web/Dockerfile
Normal file
17
telemovris_web/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM python:3.9
|
||||
|
||||
RUN mkdir /app
|
||||
ADD requirements.txt /app
|
||||
RUN pip install -r /app/requirements.txt
|
||||
ADD *.py /app/
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV FLASK_APP app.py
|
||||
ENV FLASK_ENV development
|
||||
ENV FLASK_RUN_PORT 8000
|
||||
ENV FLASK_RUN_HOST 0.0.0.0
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["flask", "run"]
|
||||
Reference in New Issue
Block a user