diff --git a/Dockerfile b/Dockerfile index 498261049..2dbd7bbbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/circle.yml b/circle.yml index 134c1728c..c06ec4aea 100644 --- a/circle.yml +++ b/circle.yml @@ -20,6 +20,7 @@ dependencies: # - sudo service mongod restart # Install node dependencies. + - yarn global add node-gyp - yarn --version - yarn cache_directories: