fix: add missing system dependencies

This commit is contained in:
Boris Arzentar 2025-02-26 20:25:26 +01:00
parent 915384a944
commit 8932a5868c

View file

@ -17,7 +17,6 @@ ENV UV_COMPILE_BYTECODE=1
# Copy from the cache instead of linking since it's a mounted volume # Copy from the cache instead of linking since it's a mounted volume
ENV UV_LINK_MODE=copy ENV UV_LINK_MODE=copy
# Install the project's dependencies using the lockfile and settings # Install the project's dependencies using the lockfile and settings
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \ --mount=type=bind,source=uv.lock,target=uv.lock \
@ -30,11 +29,11 @@ ADD . /app
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --no-dev --no-editable uv sync --frozen --no-dev --no-editable
# RUN apt-get update && apt-get install RUN apt-get update && apt-get install
# RUN apt-get install -y \ RUN apt-get install -y \
# gcc \ gcc \
# libpq-dev libpq-dev
FROM python:3.12-slim-bookworm FROM python:3.12-slim-bookworm