Skip to content

Commit d399a56

Browse files
Ensure we're in /opt directory
1 parent f25036b commit d399a56

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ COPY --from=ghcr.io/astral-sh/uv:0.8.21 /uv /uvx /bin/
44
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
55
COPY pyproject.toml spectre_utils /opt
66
RUN --mount=type=cache,target=/root/.cache/uv \
7+
cd /opt/ &&\
78
uv sync --no-install-project --no-dev
89
RUN --mount=type=cache,target=/root/.cache/uv \
10+
cd /opt/ &&\
911
uv sync --frozen --no-dev
1012
FROM python:3.13-slim AS runtime
1113
ENV PATH="/opt/.venv/bin:$PATH"

0 commit comments

Comments
 (0)