Complete lab 7 TLS and secret management
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Бахрам
2026-12-01 22:44:28 +03:00
parent 20afc2c790
commit 1df2202403
51 changed files with 3396 additions and 138 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM python:3.12.10-slim
WORKDIR /srv
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app app
COPY contracts contracts
COPY migrations migrations
COPY tests tests
RUN useradd --uid 10001 --create-home api
USER api
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--timeout-graceful-shutdown", "5"]