Skip to content

Commit

Permalink
[docker] Update dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <[email protected]>
  • Loading branch information
gaocegege committed Feb 19, 2025
1 parent 0aedd70 commit 85b373a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Stage 1: Build
FROM python:3.10-slim as builder
FROM python:3.10-slim

WORKDIR /app

Expand All @@ -11,7 +10,7 @@ COPY src/ src/

# Install dependencies (no cache to reduce size)
RUN --mount=type=cache,target=/root/.cache/pip \
pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir --upgrade pip setuptools_scm && \
pip install --no-cache-dir .

# Set the entrypoint
Expand Down

0 comments on commit 85b373a

Please sign in to comment.