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
Build and Push Docker Container / build-and-push (push) Successful in 58s
This commit is contained in:
+2
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user