Skip to content
Snippets Groups Projects

Feature/profile stagging

Merged Baptiste Toulemonde requested to merge feature/profile_stagging into master
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
+ 12
0
### STAGE 1: Build ###
FROM node:12.7-alpine AS build
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
RUN npm run build-staging
### STAGE 2: Run ###
FROM nginx:1.17.1-alpine
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /usr/src/app/dist/register-front /usr/share/nginx/html
Loading