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

compile:
rm -rf dockerlib/__pycache__
python3 -m py_compile dockerlib/*
install:
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/main.py $$@' >> /usr/bin/dockerlib
chmod +x /usr/bin/dockerlib
init:
pip3 install -r requirements.txt