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
345B

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