We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
uv sync
1 parent 7d44dd2 commit 1e5fa4dCopy full SHA for 1e5fa4d
Dockerfile
@@ -10,11 +10,13 @@ ADD .dockerignore .
10
WORKDIR /app
11
ADD uv.lock /app/uv.lock
12
ADD pyproject.toml /app/pyproject.toml
13
-RUN uv sync --frozen --no-install-project
+RUN --mount=type=cache,target=/root/.cache/uv \
14
+ uv sync --frozen --no-install-project
15
16
# Then, install the rest of the project
17
ADD . /app
-RUN uv sync --frozen
18
19
+ uv sync --frozen
20
21
# Place executables in the environment at the front of the path
22
ENV PATH="/app/.venv/bin:$PATH"
0 commit comments