Spaces:
Runtime error
Runtime error
Esteves Enzo commited on
Commit ·
10259d1
1
Parent(s): deddf1b
dockerfile updated
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -13,10 +13,10 @@ COPY package.json package-lock.json ./
|
|
| 13 |
RUN npm install
|
| 14 |
|
| 15 |
# set all permissions to write to the /data folder to the user
|
|
|
|
| 16 |
RUN chown -R node:node /data
|
| 17 |
USER node
|
| 18 |
|
| 19 |
-
VOLUME /data
|
| 20 |
|
| 21 |
# Copy the rest of the application files to the container
|
| 22 |
COPY . .
|
|
|
|
| 13 |
RUN npm install
|
| 14 |
|
| 15 |
# set all permissions to write to the /data folder to the user
|
| 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 . .
|