Browse Source

修改dockerfile

yangc 7 years ago
parent
commit
1ba22cd4e8
2 changed files with 3 additions and 0 deletions
  1. 3 0
      Dockerfile
  2. BIN
      linux_musl-x64-57_binding.node

+ 3 - 0
Dockerfile

@@ -7,6 +7,9 @@ COPY . /app
 
 RUN chmod +x run.sh
 
+RUN export SASS_BINARY_PATH=linux_musl-x64-57_binding.node
+RUN export PATH=$PATH:$SASS_BINARY_PATH
+
 RUN cnpm install
 RUN npm run build
 

BIN
linux_musl-x64-57_binding.node