feat: second lab
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
yurtaev.va
2026-10-23 18:39:11 +03:00
parent 65003b6119
commit 0f8dc7a6e4
18 changed files with 1151 additions and 29 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.12.10-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt && useradd -r -u 10001 app
COPY app ./app
COPY migrations ./migrations
USER app
EXPOSE 8080
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "1"]