-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to python 3.9 to resolve pip error
- Loading branch information
Xavier Medrano
authored and
Xavier Medrano
committed
Feb 13, 2025
1 parent
8f4f341
commit 4bfb657
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.5-slim | ||
FROM python:3.9-slim | ||
LABEL maintainer "DataMade <[email protected]>" | ||
|
||
RUN apt-get update && \ | ||
|
@@ -8,6 +8,6 @@ RUN mkdir /app | |
WORKDIR /app | ||
|
||
COPY ./requirements.txt /app/requirements.txt | ||
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt | ||
RUN pip install pip==24.0 && pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters