From 85442212dcb184c47639cfda8292d69fe514e507 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:20:50 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f14e30f..adecbea1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ RUN apk update \ && apk upgrade --available \ && apk add curl git tzdata bash \ && npm install -g npm@latest \ - && npm install pm2 -g \ && mkdir $(echo "${WORKDIR}") -p \ && cd $WORKDIR \ && git clone --depth 1 -b $(echo "${GIT_BRANCH} ${GIT_REPO}") . \ @@ -22,4 +21,4 @@ RUN apk del git curl \ && rm -rf /var/cache/apk/* WORKDIR $WORKDIR EXPOSE 3000 -CMD [ "pm2-runtime", "pm2.config.js" ] \ No newline at end of file +CMD [ "npx", "pm2-runtime", "pm2.config.js" ] \ No newline at end of file