N-FIN-90: replace legacy ENV format

This commit is contained in:
Markus Thielker 2025-03-09 05:28:36 +01:00
parent 25793bb7c9
commit 0f2f055a57

View file

@ -25,7 +25,7 @@ COPY prisma/ ./prisma/
RUN bunx prisma generate
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_TELEMETRY_DISABLED=1
RUN bun run build
@ -33,8 +33,8 @@ RUN bun run build
FROM base AS runner
WORKDIR /app
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
@ -52,7 +52,7 @@ USER nextjs
EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]