Update Dockerfile and justfile

This commit is contained in:
Sina Atalay
2025-12-10 18:34:57 +03:00
parent d6b6d2ddfa
commit f8c353b97e
2 changed files with 3 additions and 3 deletions

View File

@@ -15,13 +15,13 @@ ENV UV_LINK_MODE=copy
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 \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ --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 # Then, add the rest of the project source code and install it
# Installing separately from its dependencies allows optimal layer caching # Installing separately from its dependencies allows optimal layer caching
COPY . /app COPY . /app
RUN --mount=type=cache,target=/root/.cache/uv \ 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 # Final stage
FROM python:3.12-slim-bookworm FROM python:3.12-slim-bookworm

View File

@@ -48,7 +48,7 @@ update-entry-figures:
uv run --frozen --all-extras --group update-entry-figures scripts/update_entry_figures.py uv run --frozen --all-extras --group update-entry-figures scripts/update_entry_figures.py
create-executable: 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: # Utilities:
count-lines: count-lines: