Pārlūkot izejas kodu

Merge branch 'dev' into feature-Before

Before 10 mēneši atpakaļ
vecāks
revīzija
06f10c93c6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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