This commit is contained in:
2026-05-14 00:19:02 +00:00
parent bdbf4af58e
commit 87b8e8e890
3 changed files with 258 additions and 0 deletions

20
dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.12-slim
WORKDIR /app
# system deps (optional but safer for postgres later)
RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
CMD ["python", "app.py"]