mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
12 lines
235 B
Docker
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
|