Project Amber web / mobile client https://git.tdem.in/tdemin/amber
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.
 
 
 
 

17 lines
322 B

  1. FROM node:10-alpine AS builder
  2. ENV NODE_ENV production
  3. ENV CI true
  4. ARG REACT_APP_APIURI=/api/v0
  5. WORKDIR /app
  6. COPY package.json yarn.lock tsconfig.json /app/
  7. RUN yarn install
  8. COPY public /app/public
  9. COPY src /app/src
  10. RUN yarn build
  11. FROM nginx:1.16-alpine AS release
  12. COPY --from=builder /app/build /usr/share/nginx/html