Spaces:
Paused
Paused
Commit
•
f9e6802
1
Parent(s):
68ba7db
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -2,4 +2,7 @@ FROM node:20
|
|
2 |
|
3 |
COPY . .
|
4 |
RUN npm i --omit=dev --no-package-lock
|
5 |
-
USER node
|
|
|
|
|
|
|
|
2 |
|
3 |
COPY . .
|
4 |
RUN npm i --omit=dev --no-package-lock
|
5 |
+
USER node
|
6 |
+
|
7 |
+
CMD ["node","./src/index.js"]
|
8 |
+
CMD ["wait"]
|