added Docker setup & moved database into instance folder

This commit is contained in:
2025-08-27 21:28:02 +02:00
parent 36f7f6d278
commit 1291970b51
9 changed files with 49 additions and 1979 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# syntax=docker/dockerfile:1
FROM python:3.13-slim-trixie
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY ./webapp /app/webapp
COPY ./main.py /app/main.py
#CMD ["uwsgi", "eve_structure.ini"]
CMD [ "python3", "-m" , "flask", "--app", "webapp.app" , "run", "--host=0.0.0.0", "--debug"]