Skip to content

Commit 6bc5e47

Browse files
committed
Fallback for --locked`error
1 parent deacd13 commit 6bc5e47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ENV UV_PYTHON=${PYTHON_VERSION}
1717
RUN uv python install ${PYTHON_VERSION} && \
1818
uv venv .venv && \
1919
if [ -f pyproject.toml ]; then \
20-
uv sync --locked --no-dev; \
20+
uv sync --locked --no-dev || uv sync --no-dev; \
2121
elif [ -f requirements.txt ]; then \
2222
uv pip install -r requirements.txt; \
2323
fi

0 commit comments

Comments
 (0)