Merge branch 'master' of gitlab.com:megazordpobeda/DataRush

This commit is contained in:
ITQ
2025-05-08 12:53:15 +03:00
19 changed files with 679 additions and 6268 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
# Stage 1: Install dependencies
FROM docker.io/python:3.11-alpine3.20 AS builder
FROM docker.io/python:3.13-alpine AS builder
COPY --from=ghcr.io/astral-sh/uv:0.4.30 /uv /uvx /bin/
@@ -17,7 +17,7 @@ RUN uv sync --no-dev --no-install-project --no-cache
# Stage 2: Start the application
FROM docker.io/python:3.11-alpine3.20
FROM docker.io/python:3.13-alpine
WORKDIR /app
@@ -35,4 +35,4 @@ EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --start-interval=2s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:8000/health || exit 1
CMD uvicorn main:app --host 0.0.0.0 --port 8000
CMD [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000" ]
+1 -1
View File
@@ -1,4 +1,4 @@
FROM docker.io/python:3.11-slim
FROM docker.io/python:3.13-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1