diff --git a/pwa/Dockerfile b/pwa/Dockerfile index 1ff924ded0..9b4cffd4e7 100644 --- a/pwa/Dockerfile +++ b/pwa/Dockerfile @@ -18,15 +18,15 @@ RUN npm install -g corepack@latest && \ # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry # Delete the following line in case you want to enable telemetry during dev and build. -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED=1 # Development image FROM base AS dev EXPOSE 3000 -ENV PORT 3000 -ENV HOSTNAME localhost +ENV PORT=3000 +ENV HOSTNAME=localhost CMD ["sh", "-c", "pnpm install; pnpm dev"] @@ -47,9 +47,9 @@ FROM node_upstream AS prod WORKDIR /srv/app -ENV NODE_ENV production +ENV NODE_ENV=production # Delete the following line in case you want to enable telemetry during runtime. -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --gid 1001 nodejs; \ adduser --uid 1001 --gid 1001 nextjs @@ -69,7 +69,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"]