Skip to content

Commit

Permalink
Update Dockerfile.cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
McCloudS authored Feb 4, 2025
1 parent a0e79f2 commit 16b5e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir --prefix=/install torch torchaudio --extra-index-url https://download.pytorch.org/whl/cpu && pip install --no-cache-dir --prefix=/install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir --prefix=/install -r requirements.txt

# === Stage 2: Create a minimal runtime image ===
FROM python:3.11-slim-bullseye AS runtime
Expand Down

0 comments on commit 16b5e63

Please sign in to comment.