Dockerized and fixed errors

This commit is contained in:
Remy Moll
2022-01-15 22:14:12 +01:00
parent 3bbe3e6cc6
commit 54b52f78bf
48 changed files with 35 additions and 11 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.10-buster
RUN mkdir -p /app
COPY requirements.txt /app/
RUN python3 -m pip install --upgrade pip && python3 -m pip install -r /app/requirements.txt
COPY app/ /app/
WORKDIR /app/
ENV containterized true
CMD ["python3", "server.py"]