mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
remove pm2 process manager - let the container orchestrator handle the lifetime events (docker, podman, k8s etc)
This commit is contained in:
@@ -14,9 +14,6 @@ RUN npm run build
|
||||
# --- Runtime Stage ---
|
||||
FROM node:lts-buster-slim
|
||||
|
||||
# Install pm2
|
||||
RUN npm install pm2 -g
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV production
|
||||
@@ -26,4 +23,4 @@ RUN npm prune --omit=dev
|
||||
|
||||
EXPOSE 7001
|
||||
|
||||
ENTRYPOINT [ "pm2-runtime", "start", "ecosystem.config.cjs"]
|
||||
ENTRYPOINT [ "node", "dist/index.cjs" ]
|
||||
Reference in New Issue
Block a user