Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonCatalyst authored Aug 12, 2024
1 parent f88ff31 commit 8a9fceb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ RUN apt-get update \
build-essential \
libffi-dev \
libssl-dev \
libxml2-dev \
libxslt-dev \
curl \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -15,8 +17,8 @@ WORKDIR /app

# Copy and install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install -r requirements.txt --break-system-packages
RUN pip install --upgrade pip==23.1.2 \
&& pip install --no-cache-dir -r requirements.txt --break-system-packages

# Copy application code
COPY . .
Expand Down

0 comments on commit 8a9fceb

Please sign in to comment.