FROM node:21-alpine as builder WORKDIR /app COPY package.json ./ COPY package-lock.json ./ COPY src ./src/ COPY index.html ./ COPY public ./ COPY .env ./ COPY postcss.config.js ./ COPY tailwind.config.js ./ COPY tsconfig.json ./ COPY tsconfig.node.json ./ COPY vite.config.ts ./ RUN npm ci RUN npm run build FROM nginx:latest WORKDIR /app COPY --from=builder /app/dist ./ COPY ./nginx.conf /etc/nginx/conf.d/default.conf