nginx-configurator/build.sh
2023-11-04 23:08:15 +01:00

8 lines
196 B
Bash
Executable file

DIR=$(mktemp -d)
pip install -r requirements.txt --target="$DIR"
cp -r nginx_configurator "$DIR"
python3 -m zipapp -p "/bin/python3" -m "nginx_configurator.main:cli" -o ncc "$DIR"
rm -r "$DIR"