Dockerfile with React app not working with “create-react-app .” command in RUN section

前端 未结 0 858
抹茶落季
抹茶落季 2021-01-30 04:18

I\'m trying to build a Dockerfile with a node and install ReactJS there:

FROM node
WORKDIR /home/node/app
RUN npm install -g create-react-app
RUN create-react-app         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题