mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
Update Dockerfile and justfile
This commit is contained in:
@@ -15,13 +15,13 @@ ENV UV_LINK_MODE=copy
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
--mount=type=bind,source=uv.lock,target=uv.lock \
|
||||
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
||||
uv sync --locked --no-install-project --no-editable --extra full
|
||||
uv sync --frozen --no-install-project --no-editable --extra full --no-default-groups
|
||||
|
||||
# Then, add the rest of the project source code and install it
|
||||
# Installing separately from its dependencies allows optimal layer caching
|
||||
COPY . /app
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
uv sync --locked --no-editable --extra full
|
||||
uv sync --frozen --no-editable --extra full --no-default-groups
|
||||
|
||||
# Final stage
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
2
justfile
2
justfile
@@ -48,7 +48,7 @@ update-entry-figures:
|
||||
uv run --frozen --all-extras --group update-entry-figures scripts/update_entry_figures.py
|
||||
|
||||
create-executable:
|
||||
uv run --frozen --all-extras --group create-executable scripts/create_executable.py
|
||||
uv run --frozen --all-extras --no-default-groups --group create-executable scripts/create_executable.py
|
||||
|
||||
# Utilities:
|
||||
count-lines:
|
||||
|
||||
Reference in New Issue
Block a user