We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b6fb7c commit 4fc9610Copy full SHA for 4fc9610
backend/Dockerfile
@@ -19,6 +19,7 @@ ENV UV_COMPILE_BYTECODE=1
19
ENV UV_LINK_MODE=copy
20
21
# Install dependencies
22
+# Ref: https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers
23
RUN --mount=type=cache,target=/root/.cache/uv \
24
--mount=type=bind,source=uv.lock,target=uv.lock \
25
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
@@ -32,6 +33,8 @@ COPY ./pyproject.toml ./uv.lock ./alembic.ini /app/
32
33
34
COPY ./app /app/app
35
36
+# Sync the project
37
38
39
uv sync
40
0 commit comments