admin08077 commited on
Commit
8ec8bf1
·
verified ·
1 Parent(s): 124811c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -10,9 +10,12 @@ RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*
10
  # Copy the archive and set ownership to 'node' user
11
  COPY --chown=node:node Archive.zip .
12
 
13
- # Unzip the archive and remove the zip file
14
  RUN unzip Archive.zip && rm Archive.zip
15
 
 
 
 
16
  # Make sure the node user owns everything
17
  RUN chown -R node:node /home/node/app
18
 
 
10
  # Copy the archive and set ownership to 'node' user
11
  COPY --chown=node:node Archive.zip .
12
 
13
+ # Unzip the archive
14
  RUN unzip Archive.zip && rm Archive.zip
15
 
16
+ # Move contents of Archive/ up one level, then remove the empty folder
17
+ RUN mv Archive/* . && rm -rf Archive
18
+
19
  # Make sure the node user owns everything
20
  RUN chown -R node:node /home/node/app
21