Added yarn global add node-gyp back

This commit is contained in:
Wyatt Johnson
2017-07-25 10:20:54 +10:00
parent c8f3be4bf5
commit e292475f1e
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ EXPOSE 5000
COPY . /usr/src/app
# Install app dependencies and build static assets.
RUN yarn install --frozen-lockfile && \
RUN yarn global add node-gyp && \
yarn install --frozen-lockfile && \
cli plugins reconcile && \
yarn build && \
yarn cache clean
+1
View File
@@ -20,6 +20,7 @@ dependencies:
# - sudo service mongod restart
# Install node dependencies.
- yarn global add node-gyp
- yarn --version
- yarn
cache_directories: