Merge pull request #134 from galenguyer/master

fix build issues in production mode
This commit is contained in:
Luke Berndt
2023-02-06 21:32:29 -05:00
committed by GitHub
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