Fixing
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Артём Осипов
2026-11-07 00:02:31 +03:00
parent 8c3acc11a7
commit e3c78a5224
26 changed files with 1103 additions and 608 deletions
+4 -2
View File
@@ -1,8 +1,8 @@
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONPATH=/app
# ДОБАВЛЯЕМ curl В СПИСОК УСТАНАВЛИВАЕМЫХ ПАКЕТОВ
RUN apt-get update && apt-get install -y --no-install-recommends \
make \
curl \
@@ -14,6 +14,8 @@ COPY requirements.txt requirements-dev.txt ./
RUN pip install --no-cache-dir -r requirements.txt -r requirements-dev.txt
COPY src/ ./src/
COPY alembic.ini ./
COPY alembic/ ./alembic/
COPY tests/ ./tests/
COPY scripts/ ./scripts/
COPY contracts/ ./contracts/
@@ -24,4 +26,4 @@ RUN chown -R appuser:appgroup /app
USER appuser
# Exec-форма для корректного получения SIGTERM
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"]
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"]