Started writing data and server

This commit is contained in:
2022-08-24 15:55:53 +01:00
parent 2ec5c97c73
commit 2d04ae5bd8
17 changed files with 1255 additions and 0 deletions

8
server/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM python:3-10:alpine
ARG DATA=./data/
ENV DATA=$DATA
WORKDIR /app
COPY . .
RUN pip install --upgrade pip && pip install -r requirements.txt
RUN chmod +x install.py reset.py && ./install.py
CMD [ "gunicorn", "-b", "0.0.0.0:5000", "-w", "5", "wsgi:app" ]