浏览代码

handle linking to python binary gracefully

Mohamed Elashri 1 年之前
父节点
当前提交
accdec3af4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -9,7 +9,7 @@ LABEL version="1.2.46-beta-1"
 # python3 would be required by node-gyp to natively build node addon 
 # This is required if we build for multi-platform
 RUN apk add --no-cache git python3 make g++ \
-    && ln -s /usr/bin/python3 /usr/bin/python
+    && ln -sf /usr/bin/python3 /usr/bin/python
     
 # Setup working directory
 RUN mkdir -p /opt/puter/app