mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 01:37:11 +00:00
Merge branch 'master' of gitlab.com:megazordpobeda/DataRush
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Stage 1: Install dependencies and compile staticfiles
|
||||
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/
|
||||
|
||||
@@ -20,7 +20,7 @@ COPY . .
|
||||
RUN uv run python manage.py collectstatic --noinput
|
||||
|
||||
# Stage 2: Start nginx and serve staticfiles
|
||||
FROM docker.io/nginx:latest
|
||||
FROM docker.io/nginx:1.28-alpine-slim
|
||||
|
||||
COPY --from=builder /app/static /usr/share/nginx/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user