From df5f8dc45891037a1fa5cb121e9a9270ec36de4c Mon Sep 17 00:00:00 2001 From: Marko Bocevski Date: Mon, 21 Sep 2020 08:51:52 +0200 Subject: [PATCH] Update readme for afterinit.d usage --- Readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 584ce2a..b1bc213 100644 --- a/Readme.md +++ b/Readme.md @@ -73,8 +73,10 @@ RUN rm -rf /srv/app/ext_wheels USER ckan ``` -### Adding prerun scripts -You can add scripts to CKAN custom images and copy them to the *docker-entrypoint.d* directory. Any *.sh or *.py file in that directory will be executed after the main initialization script (prerun.py) is executed. +### Adding init and afterinit scripts +You can add scripts to CKAN custom images and copy them to the *docker-entrypoint.d* directory. Any *.sh or *.py file in that directory will be executed before the main initialization script (prerun.py) is executed. + +You can add scripts to CKAN custom images and copy them to the *docker-afterinit.d* directory. Any *.sh or *.py file in that directory will be executed after the main initialization script (prerun.py) is executed. ## Build To build a CKAN image run: