sdy

update front Dockerfile

...@@ -3,7 +3,10 @@ FROM node:12.16.2 ...@@ -3,7 +3,10 @@ FROM node:12.16.2
3 RUN mkdir /app 3 RUN mkdir /app
4 WORKDIR /app 4 WORKDIR /app
5 5
6 -COPY package*.json ./ 6 +ENV PATH /app/node_modules/.bin:$PATH
7 -RUN npm install 7 +
8 +COPY package*.json /app/
9 +RUN npm install --silent
10 +RUN npm install react-scripts@3.0.1 -g --silent
8 11
9 CMD ["npm", "start"] 12 CMD ["npm", "start"]
...\ No newline at end of file ...\ No newline at end of file
......