Skip to content

Commit

Permalink
Update image
Browse files Browse the repository at this point in the history
  • Loading branch information
pbdco committed Dec 24, 2024
1 parent 62b4b28 commit 3566b03
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ RUN apt-get update && \
python3-dev \
&& rm -rf /var/lib/apt/lists/*

# Copy requirements first
COPY requirements.txt .

# First upgrade pip and setuptools
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt

# Install Python packages
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Final stage
FROM python:3.12-slim

Expand Down

0 comments on commit 3566b03

Please sign in to comment.