added dockerfile, so you can run this in 1 click

This commit is contained in:
bacalhau 2026-03-08 17:30:55 +00:00
parent 069d2b1667
commit 6652284dbc
4 changed files with 35 additions and 0 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM python:3.14.3-alpine3.23
WORKDIR /app
COPY requirements.txt .
RUN apk add gpg
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
EXPOSE 5000
ENV FLASK_APP=src/main.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_ENV=production
CMD ["flask", "run"]