Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -4,5 +4,8 @@ COPY . .
|
|
| 4 |
RUN npm i --omit=dev --no-package-lock
|
| 5 |
USER node
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
RUN npm i --omit=dev --no-package-lock
|
| 5 |
USER node
|
| 6 |
|
| 7 |
+
COPY entrypoint.sh /entrypoint.sh
|
| 8 |
+
RUN chmod +x /entrypoint.sh
|
| 9 |
+
|
| 10 |
+
# Set the entry point script as the default command
|
| 11 |
+
ENTRYPOINT ["/entrypoint.sh"]
|