Build official Docker Images yourself without Raid Limit instead using Docker Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
414 B

rm -rf dockerlib/__pycache__
python3 -m py_compile dockerlib/*
rm -rf dockerlib/__pycache__ /usr/share/dockerlib
mkdir /usr/share/dockerlib
cp dockerlib/* /usr/share/dockerlib
cp -r data /usr/share/dockerlib
echo "#!/bin/bash" > /usr/bin/dockerlib
echo 'python3 /usr/share/dockerlib/ $$@' >> /usr/bin/dockerlib
chmod +x /usr/bin/dockerlib
pip3 install -r requirements.txt