mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
Added yarn global add node-gyp back
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
@@ -20,6 +20,7 @@ dependencies:
|
||||
# - sudo service mongod restart
|
||||
|
||||
# Install node dependencies.
|
||||
- yarn global add node-gyp
|
||||
- yarn --version
|
||||
- yarn
|
||||
cache_directories:
|
||||
|
||||
Reference in New Issue
Block a user