reprganized docker file, less layers, new shortcuts for management commands

This commit is contained in:
jonaswinkler
2021-02-12 16:53:51 +01:00
parent 5b56fad9c7
commit d6c3471909
3 changed files with 50 additions and 30 deletions

View File

@@ -0,0 +1,6 @@
for command in document_archiver document_exporter document_importer mail_fetcher document_create_classifier document_index document_renamer document_retagger document_thumbnails;
do
echo "installing $command..."
sed "s/management_command/$command/g" management_script.sh > /usr/local/bin/$command
chmod +x /usr/local/bin/$command
done