Hi, I dont know why the environments aren't defined.
This is my dockerfile
FROM oven/bun:canary-debian AS base
ENV DIR=/app
WORKDIR $DIR
ARG EnvironmentVariable
COPY package.json bun.lockb ./
RUN bun install
FROM node:16-alpine AS prerelease
WORKDIR /usr/src/app
COPY --from=base /app/node_modules node_modules
COPY . .
ENV NODE_ENV=production
RUN npm run build
FROM nginx:alpine
COPY --from=base /app/node_modules node_modules
COPY --from=prerelease /usr/src/app/dist /usr/share/nginx/html
COPY security-headers.conf /etc/nginx/
COPY nginx.conf /etc/nginx/conf.d/default.conf
ENV NODE_ENV=production
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]