Skip to content

Commit 6fe5bd1

Browse files
🔧 fix: Simplify Dockerfile to use regular requirements.txt
1 parent 75768ac commit 6fe5bd1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ RUN apt-get update && \
2121

2222
# Copy only essential files first to leverage Docker's caching
2323
COPY requirements.txt ./
24-
COPY .github/requirements-pip.txt ./.github/requirements-pip.txt
25-
COPY .github/requirements-hashed.txt ./.github/requirements-hashed.txt
2624

2725
# Install dependencies efficiently
28-
RUN pip install --no-cache-dir -r .github/requirements-pip.txt && \
29-
pip install --no-cache-dir -r .github/requirements-hashed.txt
26+
RUN pip install --no-cache-dir --upgrade pip==25.0.1 && \
27+
pip install --no-cache-dir -r requirements.txt
3028

3129
# Copy the rest of the app source code
3230
COPY . ./

0 commit comments

Comments
 (0)