BetterAPI commited on
Commit
65214e2
·
1 Parent(s): b841eac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,5 +12,5 @@ COPY --link --chown=1000 . .
12
  RUN npm i
13
 
14
  RUN --mount=type=secret,id=DOTENV_LOCAL,dst=.env.local npm run build
15
-
16
- CMD pm2 start build/index.js -i $CPU_CORES --no-daemon
 
12
  RUN npm i
13
 
14
  RUN --mount=type=secret,id=DOTENV_LOCAL,dst=.env.local npm run build
15
+ CMD pm2 kill
16
+ CMD pm2 start build/index.js -i $CPU_CORES