File tree Expand file tree Collapse file tree
backend/src/Infrastructure Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ IConfiguration configuration
264264 configuration [ "Email:Sender" ]
265265 ) ;
266266
267- if ( environment . IsDevelopment ( ) || environment . IsStaging ( ) )
267+ if ( environment . IsDevelopment ( ) )
268268 {
269269 builder . AddSmtpSender (
270270 configuration [ "Email:Host" ] ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ WORKDIR /app
88
99COPY package.json ./
1010
11- RUN npm install
11+ RUN yarn install
1212
1313FROM base AS builder
1414
@@ -18,18 +18,17 @@ COPY --from=deps /app/node_modules ./node_modules
1818COPY . .
1919
2020ENV NEXT_TELEMETRY_DISABLED=1
21- ENV NODE_ENV=production
2221
2322ARG NEXT_PUBLIC_API_PATH
2423
25- RUN npm run build
24+ RUN yarn run build
2625
2726FROM base AS runner
2827
2928WORKDIR /app
3029
31- ENV NEXT_TELEMETRY_DISABLED=1
3230ENV NODE_ENV=production
31+ ENV NEXT_TELEMETRY_DISABLED=1
3332
3433RUN addgroup --system --gid 1001 nodejs
3534RUN adduser --system --uid 1001 nextjs
You can’t perform that action at this time.
0 commit comments