소스 검색

Try to fix Dockerfile.

Lauri Ojansivu 6 년 전
부모
커밋
7a03e0ef12
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -176,8 +176,9 @@ RUN \
     #DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303
     #paxctl -mC `which node` && \
     \
-    # Install Node dependencies
+    # Install Node dependencies. Python path for node-gyp.
     npm install -g npm@${NPM_VERSION} && \
+    npm config set python /usr/bin/python && \
     npm install -g node-gyp && \
     npm install -g fibers@${FIBERS_VERSION} && \
     \