lab7 completed
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-11-20 20:37:41 +03:00
parent 20afc2c790
commit 4b21efc2cc
43 changed files with 2277 additions and 144 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.12.10-slim
ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1
WORKDIR /srv
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && useradd --uid 10001 --create-home messenger
COPY app app
USER messenger
ENTRYPOINT ["python", "-m", "app.credentials"]
CMD ["uvicorn", "app.api:app", "--host", "127.0.0.1", "--port", "8080", "--no-access-log", "--no-proxy-headers", "--limit-concurrency", "48"]