added Docker setup & moved database into instance folder
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user