Spaces:
Runtime error
Runtime error
Commit
·
a8d8373
1
Parent(s):
fd14144
perms
Browse files- Dockerfile +0 -2
Dockerfile
CHANGED
|
@@ -41,8 +41,6 @@ COPY ./frontend /app/frontend
|
|
| 41 |
USER root
|
| 42 |
RUN cd /app/frontend && npm install --legacy-peer-deps && npm run build
|
| 43 |
|
| 44 |
-
USER user
|
| 45 |
-
|
| 46 |
# Fix permissions so the non-root user can access node_modules
|
| 47 |
RUN chown -R user:user /app/frontend/node_modules
|
| 48 |
|
|
|
|
| 41 |
USER root
|
| 42 |
RUN cd /app/frontend && npm install --legacy-peer-deps && npm run build
|
| 43 |
|
|
|
|
|
|
|
| 44 |
# Fix permissions so the non-root user can access node_modules
|
| 45 |
RUN chown -R user:user /app/frontend/node_modules
|
| 46 |
|