Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

chore(client/Dockerfile): replaced legacy ENV syntax for key/value. (#149)

s0ders175d889e62b6
diff --git a/client/Dockerfile b/client/Dockerfile
index 2534c7a4c..e8f31805c 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -17,7 +17,7 @@ COPY . .
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
-ENV NEXT_TELEMETRY_DISABLED 1
+ENV NEXT_TELEMETRY_DISABLED=1
ARG NEXT_PUBLIC_BACKEND_URL
ARG NEXT_PUBLIC_CLOUD
ENV NEXT_PUBLIC_BACKEND_URL=${NEXT_PUBLIC_BACKEND_URL}
@@ -29,8 +29,8 @@ RUN npm 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
@@ -50,7 +50,7 @@ USER nextjs
EXPOSE 3002
-ENV PORT 3002
-ENV HOSTNAME "0.0.0.0"
+ENV PORT=3002
+ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]
\ No newline at end of file