From c09d2bc715033bdc34492d4b44bf289e68acd9e6 Mon Sep 17 00:00:00 2001 From: flamekiller22 Date: Thu, 11 Jan 2024 02:33:51 +0530 Subject: [PATCH] one last yarn and npm swap --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e55f79a..c9a0443 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,18 +21,16 @@ COPY . . # Uncomment the following line in case you want to disable telemetry during the build. ENV NEXT_TELEMETRY_DISABLED 1 -RUN yarn build +# RUN yarn build # If using npm comment out above and use below instead -# RUN npm run build +RUN npm run build # Production image, copy all the files and run next FROM node:21-alpine AS runner WORKDIR /app ENV NODE_ENV production -# Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED 1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs