comfycamp/Dockerfile

15 lines
240 B
Docker
Raw Permalink 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 ./
2023-08-27 23:28:48 +05:00
RUN npm i
ADD . .
RUN npm run build
FROM nginx:alpine
2023-10-15 11:14:07 +05:00
COPY --from=builder /app/dist /usr/share/comfycamp
COPY nginx.conf /etc/nginx/conf.d/default.conf