mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 16:57:39 -05:00
fix build issues in production mode
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user