Spaces:
Runtime error
Runtime error
grosenthal
commited on
Commit
•
b54a03e
1
Parent(s):
fa567c6
fix user
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -10,16 +10,16 @@ COPY lib/libc.so /usr/lib
|
|
10 |
|
11 |
RUN ldconfig
|
12 |
|
13 |
-
USER
|
14 |
|
15 |
-
ENV HOME=/home/
|
16 |
-
PATH=/home/
|
17 |
|
18 |
-
COPY --chown=
|
19 |
|
20 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
21 |
|
22 |
-
COPY --chown=
|
23 |
|
24 |
COPY ./src ./src
|
25 |
RUN cd src/aineid && npm install
|
|
|
10 |
|
11 |
RUN ldconfig
|
12 |
|
13 |
+
USER pn
|
14 |
|
15 |
+
ENV HOME=/home/pn \
|
16 |
+
PATH=/home/pn/.local/bin:$PATH
|
17 |
|
18 |
+
COPY --chown=pn ./requirements.txt /code/requirements.txt
|
19 |
|
20 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
21 |
|
22 |
+
COPY --chown=pn . .
|
23 |
|
24 |
COPY ./src ./src
|
25 |
RUN cd src/aineid && npm install
|