Skip to content

Commit

Permalink
make yarn use the production flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Jan 30, 2021
1 parent f660107 commit 630e191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN mkdir -p /home/nginx/src
WORKDIR /home/nginx/
RUN apk add --update nodejs npm && \
npm install --global yarn && \
yarn && \
yarn --production && \
cp -r /home/nginx/build/* /usr/share/nginx/html/

WORKDIR /usr/share/nginx/html/
Expand Down

0 comments on commit 630e191

Please sign in to comment.