From 7b333d34c31615e2b0574da74a0e991a38167acf Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Tue, 11 Apr 2023 20:43:24 -0700 Subject: [PATCH] Fixing dockerfile. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f390772..b4097b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,10 +25,10 @@ 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:16-alpine AS runner @@ -36,7 +36,7 @@ WORKDIR /app ENV NODE_ENV production # Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED 1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs