Esteves Enzo commited on
Commit
a0aff1e
1 Parent(s): 10259d1

dockerfile updated

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -12,11 +12,9 @@ COPY package.json package-lock.json ./
12
  # Install dependencies
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 . .
 
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 . .