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