Skip to content

Commit

Permalink
Fix error when minify react-project
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreCantin committed Feb 2, 2019
1 parent 822c477 commit 97787a5
Show file tree
Hide file tree
Showing 4 changed files with 5,246 additions and 4,676 deletions.
4 changes: 2 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ RUN npm install pm2 -g
# Install Node project
ADD package.json /usr/local/node_temp/
WORKDIR /usr/local/node_temp/
RUN npm install
RUN npm install --only=production

# Install React project
ADD frontend/package.json /usr/local/react_temp/
WORKDIR /usr/local/react_temp/
RUN npm install
RUN npm install --only=production

# Copy all the folder
WORKDIR /code/
Expand Down
Loading

0 comments on commit 97787a5

Please sign in to comment.