fix: add missing system dependencies
This commit is contained in:
parent
915384a944
commit
8932a5868c
1 changed files with 4 additions and 5 deletions
|
|
@ -17,7 +17,6 @@ ENV UV_COMPILE_BYTECODE=1
|
|||
# Copy from the cache instead of linking since it's a mounted volume
|
||||
ENV UV_LINK_MODE=copy
|
||||
|
||||
|
||||
# Install the project's dependencies using the lockfile and settings
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
--mount=type=bind,source=uv.lock,target=uv.lock \
|
||||
|
|
@ -30,11 +29,11 @@ ADD . /app
|
|||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
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 \
|
||||
# gcc \
|
||||
# libpq-dev
|
||||
RUN apt-get install -y \
|
||||
gcc \
|
||||
libpq-dev
|
||||
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue