Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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
|
|
|
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
|