Spaces:
Runtime error
Runtime error
Michael Benayoun
commited on
Commit
•
5394e58
1
Parent(s):
798abe7
Yay
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -7,6 +7,10 @@ WORKDIR /code
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
|
|
|
|
|
|
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
|
12 |
COPY . .
|
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
+
RUN useradd -m -u 1000 user
|
11 |
+
|
12 |
+
USER user
|
13 |
+
|
14 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
15 |
|
16 |
COPY . .
|