Vermeide Docker-Hub-Timeouts beim Dev-Build durch GHCR-Basisimage.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
0b3af2dee4
commit
e1800e7b0f
4 files changed
+7
-7
No files matched your search
+1
-3
@@ -1,11 +1,9 @@
|
||||
FROM python:3.13-slim-bookworm AS base
|
||||
FROM ghcr.io/astral-sh/uv:0.10.11-python3.13-trixie-slim AS base
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends libpq5 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.10.11 /uv /usr/local/bin/uv
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV UV_COMPILE_BYTECODE=1 \
|
||||
|
||||
Reference in new issue
Block a user