Skip to content

Commit 16fe68d

Browse files
committed
fix: Simplify python deps installation in Dockerfile-Service
1 parent 22d3dfd commit 16fe68d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/docker_compose/Dockerfile-Service

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ WORKDIR /app
1414

1515
# Install python dependencies, only copying necessary files
1616
COPY ./pyproject.toml MANIFEST.in ./
17-
RUN uv pip compile pyproject.toml -o requirements.txt
1817
RUN --mount=type=cache,target=/root/.cache/uv \
19-
uv pip install -r requirements.txt && \
20-
uv pip install numpy ipykernel
18+
uv sync
2119

2220
# Copy the project files and install the package itself
2321
COPY ./grader_service ./grader_service

0 commit comments

Comments
 (0)