N-FIN-90: replace legacy ENV format
This commit is contained in:
parent
25793bb7c9
commit
0f2f055a57
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue