From 28fc70e63a5f3d6c47f16da70a896036fd92a0f3 Mon Sep 17 00:00:00 2001 From: tim-hub Date: Thu, 31 Aug 2023 19:37:07 +1200 Subject: [PATCH] fix dockerfile to run pm2 (cherry picked from commit ad0b564e170119628037b4bb13f689eb5629d041) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bdc678dac..fccab7acc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs -RUN yarn add npm-run-all dotenv prisma +RUN yarn add npm-run-all dotenv prisma pm2 # You only need to copy next.config.js if you are NOT using the default configuration COPY --from=builder /app/next.config.js .