2 Commits

Author SHA1 Message Date
c81310cf8a without alpine
Some checks failed
Run testing on the backend code / Build (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m33s
Build and deploy the backend to staging / Add a comment to the PR to notify about the deployment (pull_request) Successful in 7s
2025-12-24 14:31:16 +00:00
035aba0887 simplified dockerfile
Some checks failed
Run testing on the backend code / Build (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 1m57s
Build and deploy the backend to staging / Add a comment to the PR to notify about the deployment (pull_request) Successful in 4s
2025-12-24 14:22:49 +00:00

View File

@@ -1,16 +1,8 @@
# use python 3.12 as a base image
FROM python:3.12-slim-bookworm
# The installer requires curl (and certificates) to download the release archive
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates
# Download the latest installer
ADD https://astral.sh/uv/install.sh /uv-installer.sh
# Run the installer then remove it
RUN sh /uv-installer.sh && rm /uv-installer.sh
# Ensure the installed binary is on the `PATH`
ENV PATH="/root/.local/bin/:$PATH"
# use the latest version of uv, independently of the python version
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Set the working directory
WORKDIR /app