dockerize (did it myself this time!) and rearrange directories

This commit is contained in:
LockeShor
2026-09-19 23:07:22 -04:00
parent ef6ebbba78
commit 849a3e8e65
11 changed files with 31 additions and 37 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.12-slim
VOLUME [ "/app/assets" ]
WORKDIR /app
ENV FLASK_APP=server.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=1387
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY server.py .
EXPOSE 1387/tcp
CMD ["flask", "run", "--debug"]