Files
RenewCMS/web/admin-gui/Dockerfile
T
2022-10-12 09:44:03 +02:00

12 lines
235 B
Docker

FROM node:latest as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY ./ .
RUN npm run build
FROM nginx as production-stage
RUN mkdir /app
COPY --from=build-stage /app/dist /app
COPY nginx.conf /etc/nginx/nginx.conf