ЛР 2 — БВТ-2302 — Сабитов — на 3
Lab 2 application / postgres (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-12-01 00:50:23 +03:00
parent 65003b6119
commit ff7296c240
17 changed files with 987 additions and 34 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.12.10-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 APP_HOST=0.0.0.0 APP_PORT=8080
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
COPY migrations/ ./migrations/
EXPOSE 8080
CMD ["python", "-m", "app.main"]