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
RUN env

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

View File

@@ -22,7 +22,7 @@
"mongodb": "2.2.36",
"mongoose": "5.12.3",
"multer": "1.3.0",
"node-ffprobe": "github:ListenerApproved/node-ffprobe",
"node-ffprobe": "https://github.com/ListenerApproved/node-ffprobe",
"node-schedule": "1.2.4",
"passport": "0.4.0",
"passport-local": "1.0.0",

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