Spaces:
Runtime error
Runtime error
Edward J. Schwartz
commited on
Commit
·
1d39e6e
1
Parent(s):
7312863
Install python3
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -6,7 +6,9 @@ WORKDIR /code
|
|
| 6 |
|
| 7 |
COPY ./requirements.txt /code/requirements.txt
|
| 8 |
|
| 9 |
-
RUN
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# Set up a new user named "user" with user ID 1000
|
| 12 |
RUN useradd -m -u 1000 user
|
|
|
|
| 6 |
|
| 7 |
COPY ./requirements.txt /code/requirements.txt
|
| 8 |
|
| 9 |
+
RUN apt-get -y update && apt-get -y install python3-pip
|
| 10 |
+
|
| 11 |
+
RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 12 |
|
| 13 |
# Set up a new user named "user" with user ID 1000
|
| 14 |
RUN useradd -m -u 1000 user
|