File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.13.22 -alpine AS builder
1+ FROM python:3.13.7 -alpine AS builder
22
33ENV PYTHONUNBUFFERED=1
44
55RUN mkdir /code
66WORKDIR /code
77
8- COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
8+ # Install UV
9+ RUN apk add --no-cache curl
10+ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
911
10- ADD pyproject.toml /code/
12+ # Copy dependency files
13+ ADD pyproject.toml uv.lock* /code/
14+
15+ # Install dependencies
1116RUN apk add --no-cache postgresql-libs libstdc++
1217RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
1318 postgresql-dev binutils rust cargo && \
14- uv sync
19+ /root/.local/bin/ uv sync --frozen --no-dev
1520
16- FROM python:3.13.22 -alpine
21+ FROM python:3.13.7 -alpine
1722
1823ENV PYTHONUNBUFFERED=1
1924ENV DJANGO_SETTINGS_MODULE='config.docker-compose'
You can’t perform that action at this time.
0 commit comments