Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ ENV PATH="/root/.local/bin/:$PATH"
# Create a fake VERSION file, so that we don't break the cache because of a mismatch in that file
RUN echo "v0.0.0" > VERSION

# Create venv
RUN uv venv
RUN ${BIN_PATH}/python -m ensurepip

# Copy dependency files
COPY uv.lock pyproject.toml ./

# Install dependencies using uv (only dependencies, not the project itself)
RUN uv sync --inexact --frozen --all-extras --no-install-project --compile-bytecode
RUN uv sync --frozen --all-extras --no-install-project --compile-bytecode

# Make sure that pip is available
RUN ${BIN_PATH}/python -m ensurepip

# --------------- `final` stage ---------------
FROM base AS final
Expand Down
Loading