Spaces:
Runtime error
Runtime error
Esteves Enzo
commited on
Commit
·
a0aff1e
1
Parent(s):
10259d1
dockerfile updated
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -12,11 +12,9 @@ COPY package.json package-lock.json ./
|
|
| 12 |
# Install dependencies
|
| 13 |
RUN npm install
|
| 14 |
|
| 15 |
-
|
| 16 |
-
VOLUME /data
|
| 17 |
-
RUN chown -R node:node /data
|
| 18 |
-
USER node
|
| 19 |
|
|
|
|
| 20 |
|
| 21 |
# Copy the rest of the application files to the container
|
| 22 |
COPY . .
|
|
|
|
| 12 |
# Install dependencies
|
| 13 |
RUN npm install
|
| 14 |
|
| 15 |
+
RUN chown -R node:node /usr/src
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
+
VOLUME /data
|
| 18 |
|
| 19 |
# Copy the rest of the application files to the container
|
| 20 |
COPY . .
|