Spaces:
Runtime error
Runtime error
grosenthal
commited on
Commit
•
ff67325
1
Parent(s):
b54a03e
root for npm
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -22,8 +22,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
22 |
COPY --chown=pn . .
|
23 |
|
24 |
COPY ./src ./src
|
|
|
25 |
RUN cd src/aineid && npm install
|
26 |
RUN cd src/aineid && npm build
|
|
|
27 |
|
28 |
RUN ls src/aineid
|
29 |
|
|
|
22 |
COPY --chown=pn . .
|
23 |
|
24 |
COPY ./src ./src
|
25 |
+
USER root
|
26 |
RUN cd src/aineid && npm install
|
27 |
RUN cd src/aineid && npm build
|
28 |
+
USER pn
|
29 |
|
30 |
RUN ls src/aineid
|
31 |
|