use uv python 3.13 debian slim as base image and not check config to use base image python and frozen to not check for updates of packages only lock file
Build and Push Docker Container / build-and-push (push) Successful in 58s

This commit is contained in:
2025-10-31 14:17:43 +01:00
parent 52f8e78e78
commit 51062d2e97
+2 -4
View File
@@ -1,13 +1,11 @@
FROM python:3.14-slim FROM ghcr.io/astral-sh/uv:python3.13-trixie-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Install app # Install app
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
# Install dependencies # Install dependencies
RUN uv sync --locked --compile-bytecode RUN uv sync --no-config --frozen --compile-bytecode
# Starten Sie Ihre Anwendung # Starten Sie Ihre Anwendung
EXPOSE 8000 EXPOSE 8000