Files
leuschke-site/Dockerfile
Homér eb37a8306d
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
feat: v0.3 pixel design system update
2026-05-13 21:21:02 +00:00

13 lines
272 B
Docker

FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]