comfycamp/Dockerfile

14 lines
193 B
Text
Raw Normal View History

2023-08-27 23:28:48 +05:00
FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json .
RUN npm i
ADD . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html