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

@@ -10,8 +10,7 @@ ARG REACT_APP_SITE_NAME
ARG REACT_APP_ADMIN_EMAIL
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