From b935d1454d29a32ecab886ad414b44fe4aabd5f9 Mon Sep 17 00:00:00 2001 From: Rudo Kemper <31662219+rudokemper@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:48:54 -0500 Subject: [PATCH] Use correct format for declaring env vars in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 228a8bb..7c3931d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ RUN npm ci --omit=dev # --------------> The production image__ FROM node:${NODE_VERSION}-bullseye-slim -ENV NODE_ENV production -ENV PORT 8080 +ENV NODE_ENV=production +ENV PORT=8080 EXPOSE 8080 COPY --from=build /usr/bin/dumb-init /usr/bin/dumb-init USER node