Spaces:
Build error
Build error
Commit
·
3ee5b6d
1
Parent(s):
6c0ae9c
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
FROM node:18
|
2 |
|
|
|
|
|
|
|
3 |
# Set default user and working dir
|
4 |
WORKDIR /opt/node_app
|
5 |
RUN chown -R 1000:1000 /opt/node_app
|
|
|
1 |
FROM node:18
|
2 |
|
3 |
+
# Install global
|
4 |
+
RUN npm install pm2 -g
|
5 |
+
|
6 |
# Set default user and working dir
|
7 |
WORKDIR /opt/node_app
|
8 |
RUN chown -R 1000:1000 /opt/node_app
|