minimeteor icon indicating copy to clipboard operation
minimeteor copied to clipboard

Add prebuild, postbuild & postinstall hooks

Open aedm opened this issue 8 years ago • 1 comments

If there is a docker-preinstall.sh next to the Dockerfile, MiniMeteor should run it as a build step before meteor build. Similarly, docker-postbuild.sh should optionally run after meteor build, and docker-postinstall should run after npm install.

This way users can install additional apt packages and execute custom build steps.

aedm avatar Feb 25 '17 11:02 aedm

Use case: Running meteor platform-remove ios so Mac binaries are bundled into a meteor app before being put into a docker image that will run on AWS Linux.

awatson1978 avatar Nov 02 '17 14:11 awatson1978