Spaces:
Paused
Paused
Commit
·
a7d7802
1
Parent(s):
9ed6676
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -12,13 +12,13 @@ RUN add-apt-repository ppa:deadsnakes/ppa
|
|
| 12 |
|
| 13 |
RUN apt install -y python3.10 python3.10-distutils python3-pip
|
| 14 |
|
| 15 |
-
RUN
|
| 16 |
|
| 17 |
RUN apt-get install -y git-all
|
| 18 |
|
| 19 |
COPY ./requirements.txt /code/requirements.txt
|
| 20 |
|
| 21 |
-
RUN
|
| 22 |
|
| 23 |
RUN useradd -m -u 1000 user
|
| 24 |
USER user
|
|
|
|
| 12 |
|
| 13 |
RUN apt install -y python3.10 python3.10-distutils python3-pip
|
| 14 |
|
| 15 |
+
RUN python3 -m pip install pip==23.1.2
|
| 16 |
|
| 17 |
RUN apt-get install -y git-all
|
| 18 |
|
| 19 |
COPY ./requirements.txt /code/requirements.txt
|
| 20 |
|
| 21 |
+
RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 22 |
|
| 23 |
RUN useradd -m -u 1000 user
|
| 24 |
USER user
|