diff --git a/entrypoint.sh b/entrypoint.sh index 3acaab8..7ed1228 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,6 +17,8 @@ PYPI_INDEX_URL=$3 WORKDIR=${SRCDIR:-/src} +SPEC_FILE="${SRCDIR}/${4}" + # # In case the user specified a custom URL for PYPI, then use # that one, instead of the default one. @@ -44,7 +46,7 @@ fi # [ -f requirements.txt ] # if [[ "$@" == "" ]]; then -pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec +pyinstaller --clean -y --dist ./dist/windows --workpath /tmp $SPEC_FILE chown -R --reference=. ./dist/windows # else # sh -c "$@"