File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,12 +37,15 @@ ENV PATH="/root/.local/bin/:$PATH"
3737# Create a fake VERSION file, so that we don't break the cache because of a mismatch in that file
3838RUN echo "v0.0.0" > VERSION
3939
40+ RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv venv
41+ RUN ${BIN_PATH}/python -m ensurepip
42+
4043# Copy dependency files
4144COPY uv.lock pyproject.toml ./
4245
4346# Install dependencies using uv (only dependencies, not the project itself)
44- RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv sync --frozen --all-extras --no-install-project --compile-bytecode
45- RUN ${BIN_PATH}/python -m ensurepip
47+ RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv sync --inexact -- frozen --all-extras --no-install-project --compile-bytecode
48+
4649# --------------- `final` stage ---------------
4750FROM base AS final
4851
You can’t perform that action at this time.
0 commit comments