Skip to content

Commit f1438fb

Browse files
authored
build: simplify Dockerfile (#348)
1 parent 4395e43 commit f1438fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ 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
3838
RUN echo "v0.0.0" > VERSION
3939

40-
RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv venv
40+
RUN uv venv
4141
RUN ${BIN_PATH}/python -m ensurepip
4242

4343
# Copy dependency files
4444
COPY uv.lock pyproject.toml ./
4545

4646
# Install dependencies using uv (only dependencies, not the project itself)
47-
RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv sync --inexact --frozen --all-extras --no-install-project --compile-bytecode
47+
RUN uv sync --inexact --frozen --all-extras --no-install-project --compile-bytecode
4848

4949
# --------------- `final` stage ---------------
5050
FROM base AS final

0 commit comments

Comments
 (0)