ARG ALBATROSS_HOST FROM node:22.14 AS builder WORKDIR /app ENV NODE_ENV=production COPY package.json package-lock.json . RUN npm install --include=dev COPY . . RUN npm run build ################################################################################ FROM node:22.14 WORKDIR /app ENV NODE_ENV=production COPY package.json package-lock.json . RUN npm install --omit=dev COPY --from=builder /app/build ./build ENV HOST="$ALBATROSS_HOST" ENV PORT=80 EXPOSE 80 CMD ["npm", "run", "start"]