FROM node:21-alpine as build WORKDIR /app ENV PATH /app/node_modules/.bin:$PATH COPY ./frontend/app . RUN npm ci RUN npm run build FROM nginx:1.25.4-alpine COPY --from=build /app/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]