Skip to content

Commit 9dcd8a8

Browse files
committed
fix Dockerfile
1 parent 57351fa commit 9dcd8a8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clerk_api_demo/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ ENV UV_PYTHON_PREFERENCE=only-managed
1414
RUN uv python install 3.13
1515

1616
WORKDIR /app
17-
RUN --mount=type=cache,target=/root/.cache/uv \
18-
--mount=type=bind,source=uv.lock,target=uv.lock \
19-
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
20-
uv sync --frozen --no-install-project --no-dev
2117

22-
COPY requirements.txt .
2318
RUN --mount=type=cache,target=/root/.cache/uv \
19+
--mount=type=bind,source=requirements.txt,target=requirements.txt \
2420
uv install --requirement requirements.txt
2521

2622
COPY assets assets

0 commit comments

Comments
 (0)