FROM node:21-alpine as builder WORKDIR /code COPY . /code RUN npm ci && npm run build FROM nginx:1.25.4-alpine LABEL maintainer="Victoria Nadasdi " LABEL org.opencontainers.image.source=https://github.com/cheeaun/phanpy LABEL org.opencontainers.image.description="Docker Image for Phanpy" LABEL org.opencontainers.image.licenses=MIT COPY --from=builder /code/dist /usr/share/nginx/html