Skip to content

Commit 5940509

Browse files
committed
build: compile libraries at installation time
1 parent 4fc7058 commit 5940509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ENV PATH="/root/.local/bin/:$PATH"
3838
COPY uv.lock pyproject.toml ./
3939

4040
# Install dependencies using uv (only dependencies, not the project itself)
41-
RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv sync --frozen --no-install-project
41+
RUN UV_PROJECT_ENVIRONMENT=${VENV_PATH} uv sync --frozen --no-install-project --compile-bytecode
4242
RUN ${BIN_PATH}/python -m ensurepip
4343
# --------------- `final` stage ---------------
4444
FROM base AS final

0 commit comments

Comments
 (0)