Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 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 |
|