Browse Source

修改dockerfile

yangc 7 years ago
parent
commit
277362bd72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -8,7 +8,7 @@ COPY . /app
 
 
 RUN chmod +x run.sh
 RUN chmod +x run.sh
 
 
-RUN yarn global install node-gyp
+RUN npm install -g node-gyp
 RUN yarn
 RUN yarn
 
 
 #RUN export SASS_BINARY_PATH=linux_musl-x64-57_binding.node
 #RUN export SASS_BINARY_PATH=linux_musl-x64-57_binding.node