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.
 
 
 
 

16 lines
322 B

FROM node:10-alpine AS builder
ENV NODE_ENV production
ENV CI true
ARG REACT_APP_APIURI=/api/v0
WORKDIR /app
COPY package.json yarn.lock tsconfig.json /app/
RUN yarn install
COPY public /app/public
COPY src /app/src
RUN yarn build
FROM nginx:1.16-alpine AS release
COPY --from=builder /app/build /usr/share/nginx/html