initial server version

This commit is contained in:
root
2026-02-12 16:00:15 +00:00
commit e5195dd9c5
13 changed files with 1375 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /app/data /app/static/img
EXPOSE 4545
CMD ["gunicorn", "-c", "gunicorn_conf.py", "app:app"]