Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -3,8 +3,10 @@ FROM ${BASE} AS base
|
|
3 |
|
4 |
WORKDIR /app
|
5 |
|
6 |
-
#
|
7 |
-
RUN
|
|
|
|
|
8 |
USER node
|
9 |
|
10 |
# Install dependencies (cached step)
|
|
|
3 |
|
4 |
WORKDIR /app
|
5 |
|
6 |
+
# Change ownership of the /app directory to the existing node user
|
7 |
+
RUN chown -R node:node /app
|
8 |
+
|
9 |
+
# Switch to the node user
|
10 |
USER node
|
11 |
|
12 |
# Install dependencies (cached step)
|