fix build issues in production mode

This commit is contained in:
Galen Guyer
2023-02-06 13:52:15 -05:00
parent 92c76cf4a7
commit eec76ec94f
4 changed files with 4 additions and 7 deletions

View File

@@ -8,8 +8,7 @@ ARG REACT_APP_FRONTEND_SERVER
ARG REACT_APP_GOOGLE_ANALYTICS
ARG NODE_ENV
COPY package.json ./
RUN npm install
RUN npm install react-scripts@3.4.1 -g --silent
RUN npm install --also=dev
COPY . ./
RUN npm run build