Parcourir la source

fix: dockerfile

Before il y a 10 mois
Parent
commit
0624c02240
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -6,11 +6,12 @@ COPY package.json ./
 RUN npm cache clean --force && npm install pnpm -g && pnpm i
 
 FROM base AS builder
+ARG BUILD_ARGS=""
 WORKDIR /app
 COPY --from=deps /app/node_modules ./node_modules
 COPY . .
 ENV NEXT_TELEMETRY_DISABLED 1
-RUN npm run build
+RUN npm run build${BUILD_ARGS}
 
 FROM base AS runner
 WORKDIR /app