Files
mtusi2026lab2/Dockerfile
T
sabitov_bvt2302 ff7296c240
Lab 2 application / postgres (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
ЛР 2 — БВТ-2302 — Сабитов — на 3
2026-12-01 00:50:23 +03:00

10 lines
295 B
Docker

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"]