Skip to content

Commit

Permalink
fix: Simplify Dockerfile by removing unnecessary build dependencies i…
Browse files Browse the repository at this point in the history
…nstallation
  • Loading branch information
venkatamutyala committed Nov 15, 2024
1 parent 4e873e7 commit 3ea24a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ FROM python:3.11.9-alpine AS builder
WORKDIR /app

# Install build dependencies and dependencies in one layer
RUN apk add --no-cache gcc musl-dev libffi-dev \
&& pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Copy the requirements file
COPY requirements.txt .
Expand Down

0 comments on commit 3ea24a3

Please sign in to comment.