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.
 
 
 

18 lines
264 B

FROM node:alpine
WORKDIR /app/test
ENV PATH /app/test/node_modules/.bin:$PATH
COPY ./test/package.json ./
#COPY ./test/package-lock.json ./
RUN npm install --silent
RUN npm install react-scripts@3.4.1 -g --silent
COPY . ./
EXPOSE 3000
CMD ["yarn", "start"]