Angular Web App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 regels
323 B

  1. ### STAGE 1: Build ###
  2. FROM node:17.2-alpine AS build
  3. WORKDIR /usr/src/app
  4. COPY package.json package-lock.json ./
  5. RUN npm install
  6. COPY . .
  7. RUN npm run build
  8. ### STAGE 2: Run ###
  9. FROM nginx:1.21.4-alpine
  10. COPY ./certificates/ /etc/certificates
  11. COPY ./nginx.conf /etc/nginx/nginx.conf
  12. COPY /dist/bizfile /usr/share/nginx/html