Spaces:
Sleeping
Sleeping
shakhovak
commited on
Commit
•
4d9f091
1
Parent(s):
b3969c3
test
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -4,9 +4,12 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY ./requirements.txt /code//requirements.txt
|
6 |
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
8 |
RUN useradd -m -u 1000 user
|
|
|
9 |
USER user
|
|
|
10 |
ENV HOME=/home/user \
|
11 |
PATH=/home/user/.local/bin:$PATH
|
12 |
|
|
|
4 |
|
5 |
COPY ./requirements.txt /code//requirements.txt
|
6 |
|
7 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
+
|
9 |
RUN useradd -m -u 1000 user
|
10 |
+
|
11 |
USER user
|
12 |
+
|
13 |
ENV HOME=/home/user \
|
14 |
PATH=/home/user/.local/bin:$PATH
|
15 |
|