소스 검색

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