CHANGE: Code Refactoring + Docker image + small fixes

This commit is contained in:
2024-10-08 14:49:11 +02:00
parent ca8df8600b
commit e74e2aa49e
6 changed files with 68 additions and 38 deletions

View File

@@ -1,9 +1,9 @@
FROM python:3.9
FROM python:3.12.2-alpine
COPY requirements.txt /home
RUN pip install -r /home/requirements.txt
COPY src webserver
WORKDIR /webserver
ENV FLASK_DEGUB=false
ENTRYPOINT [ "python3", "-u", "main.py" ]
EXPOSE 5000
ENTRYPOINT [ "python3", "-u", "app.py" ]
EXPOSE 5000