Mediocreatmybest commited on
Commit
b2111e2
·
1 Parent(s): e9421d3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -7,7 +7,7 @@ USER 1000
7
 
8
  # Set production build
9
  ARG NODE_ENV=production
10
- ARG PORT=5002
11
 
12
  # Git Clone
13
  RUN git clone https://github.com/excalidraw/excalidraw
@@ -55,9 +55,11 @@ USER root
55
 
56
 
57
  # Let Node access port 80
58
- RUN apt update && \
59
- apt install libcap2-bin -y && \
60
- setcap cap_net_bind_service=+ep `readlink -f \`which node\``
 
 
61
 
62
  RUN chmod +x start.sh
63
  CMD /bin/bash start.sh
 
7
 
8
  # Set production build
9
  ARG NODE_ENV=production
10
+ ENV PORT=5002
11
 
12
  # Git Clone
13
  RUN git clone https://github.com/excalidraw/excalidraw
 
55
 
56
 
57
  # Let Node access port 80
58
+ #RUN apt update && \
59
+ # apt install libcap2-bin -y && \
60
+ # setcap cap_net_bind_service=+ep `readlink -f \`which node\``
61
+
62
+ RUN npm install pm2 -g
63
 
64
  RUN chmod +x start.sh
65
  CMD /bin/bash start.sh