fix localhost

This commit is contained in:
2023-10-12 19:16:44 +02:00
parent 32b9ab49a8
commit 6dcd5639b4
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,8 @@
FROM python:latest
WORKDIR /hafas_db
COPY Hafas_Main_web.py app.py
COPY templates/* ./templates
RUN pip3 install pyhafas Flask typing
RUN mkdir -p templates
COPY templates templates/.
RUN pip3 install pyhafas Flask
CMD ["python3", "app.py"]
EXPOSE 5000
EXPOSE 5000