fixed project and dockerrized everything
This commit is contained in:
10
Dockerfile
Executable file
10
Dockerfile
Executable 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
|
||||
Reference in New Issue
Block a user