Spaces:
Sleeping
Sleeping
quanvndzai
commited on
Commit
•
a64ac52
1
Parent(s):
3fef6ea
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -22,5 +22,7 @@ RUN npm install pm2 -g
|
|
22 |
ENV PM2_PUBLIC_KEY yrzs0totz1wqh2d
|
23 |
ENV PM2_SECRET_KEY uhyz7tcoimeb81b
|
24 |
|
|
|
|
|
25 |
EXPOSE 7860
|
26 |
-
CMD pm2-runtime
|
|
|
22 |
ENV PM2_PUBLIC_KEY yrzs0totz1wqh2d
|
23 |
ENV PM2_SECRET_KEY uhyz7tcoimeb81b
|
24 |
|
25 |
+
RUN pm2-runtime index.js -i 8 &
|
26 |
+
|
27 |
EXPOSE 7860
|
28 |
+
CMD ["pm2-runtime", "main.js"]
|