handle linking to python binary gracefully

This commit is contained in:
Mohamed Elashri 2024-04-04 21:51:39 +00:00 committed by GitHub
parent 95b6dbd140
commit accdec3af4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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