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.
|
FROM node:current-alpine as builder |
|
|
|
RUN npm install -g create-react-app |
|
|
|
RUN mkdir -p /usr/src/app |
|
WORKDIR /usr/src/app |
|
|
|
ARG NODE_ENV |
|
ENV NODE_ENV $NODE_ENV |
|
RUN rm -rf build || true |
|
COPY ./package.json /usr/src/app |
|
RUN npm install |
|
|
|
ENV CHOKIDAR_USEPOLLING true
|
|
|