ONBUILD specifies a 'trigger' instruction executed when the image is used as the base for another build.


ONBUILD ADD . /app/src
ONBUILD RUN /usr/local/bin/python-build --dir /app/src