fixed project and dockerrized everything

This commit is contained in:
2023-10-16 22:35:46 +02:00
parent 6a67dc40bf
commit 4bd4a3796e
16 changed files with 161 additions and 178 deletions

10
Dockerfile Executable file
View File

@@ -0,0 +1,10 @@
FROM alpine:3.18.4
RUN apk add --no-cache python3 py3-pip
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