Initial add

This commit is contained in:
2026-05-19 18:14:39 -04:00
commit 86e6adfe2e
12 changed files with 526 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM python:3.12-slim
# Prevent Python from buffering stdout/stderr
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Create database directory if needed
RUN mkdir -p database
# Expose Flask/Gunicorn port
EXPOSE 5000
# Start app
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]