ЛР 2: PostgreSQL и постоянные сессии — Гавриленко БПИ2303, на 3

This commit is contained in:
2026-11-13 01:27:52 +03:00
parent 65003b6119
commit 40bcd42aa3
19 changed files with 682 additions and 31 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM python:3.13.7-slim-bookworm
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ src/
COPY migrations/ migrations/
USER 10001:10001
EXPOSE 8080
CMD ["python", "src/server.py"]