Added db and web. Modified things. A lot.

This commit is contained in:
Joan
2023-07-25 23:06:52 +02:00
parent e7d6e733ca
commit b575930118
8 changed files with 228 additions and 29 deletions

17
telemovris_web/Dockerfile Normal file
View 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"]