FROM node:24-alpine AS build WORKDIR /src COPY frontend/package*.json ./ RUN npm install COPY frontend/ . RUN npm run build FROM nginx:1.29-alpine COPY --from=build /src/dist /usr/share/nginx/html COPY deploy/nginx/default.conf /etc/nginx/conf.d/default.conf EXPOSE 80