LokeshEka commited on
Commit
a3f7dbd
·
verified ·
1 Parent(s): 9554d48

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,8 +15,8 @@ ENV APP_HOME=${HOME}/app
15
  # Set the WORKDIR. Since we are 'appuser', this directory will be created and owned by 'appuser'.
16
  WORKDIR ${APP_HOME}
17
 
18
- # Create the 'images' directory owned by 'appuser'
19
- RUN mkdir images
20
 
21
  # Copy package files. They will be owned by 'appuser' because of the USER command above.
22
  COPY package*.json ./
 
15
  # Set the WORKDIR. Since we are 'appuser', this directory will be created and owned by 'appuser'.
16
  WORKDIR ${APP_HOME}
17
 
18
+ # Create the '/tmp/images' directory owned by 'appuser' with full permissions
19
+ RUN mkdir -p /tmp/images && chmod 777 /tmp/images
20
 
21
  # Copy package files. They will be owned by 'appuser' because of the USER command above.
22
  COPY package*.json ./