Ver código fonte

handle linking to python binary gracefully

Mohamed Elashri 1 ano atrás
pai
commit
accdec3af4
1 arquivos alterados com 1 adições e 1 exclusões
  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 
 # python3 would be required by node-gyp to natively build node addon 
 # This is required if we build for multi-platform
 # This is required if we build for multi-platform
 RUN apk add --no-cache git python3 make g++ \
 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
 # Setup working directory
 RUN mkdir -p /opt/puter/app
 RUN mkdir -p /opt/puter/app