Răsfoiți Sursa

Try to fix Dockerfile.

Lauri Ojansivu 6 ani în urmă
părinte
comite
7a03e0ef12
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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} && \
     \