conf update for e2e tests
This commit is contained in:
@ -16,10 +16,13 @@ ENV REACT_APP_USERS_SERVICE_URL $REACT_APP_USERS_SERVICE_URL
|
||||
# install and cache app dependencies
|
||||
ADD package.json /usr/src/app/package.json
|
||||
RUN npm install --silent
|
||||
RUN npm install react-scripts -g
|
||||
RUN npm install pushstate-server -g --silent
|
||||
|
||||
# add app
|
||||
ADD . /usr/src/app/
|
||||
|
||||
# build react app
|
||||
RUN npm run build
|
||||
|
||||
# start app
|
||||
CMD ["npm", "start"]
|
||||
CMD ["pushstate-server", "build"]
|
||||
|
Reference in New Issue
Block a user