Skip to content

Commit

Permalink
fix(containerfile): Speed up containerfile creation
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Oct 25, 2024
1 parent c6287ed commit d7dc7a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ COPY pyproject.toml /_lock/
# This layer is cached until uv.lock or pyproject.toml change.
# Also copy the symlinked python and shared libraries into the virtualenv
RUN --mount=type=cache,target=/root/.cache \
apt install gcc && \
cd /_lock && \
mkdir src && \
uv sync --no-dev --no-install-project
Expand Down

0 comments on commit d7dc7a3

Please sign in to comment.