Base image ready for Phoenix Framework apps (Elixir-Lang)
2.6K
This image is based on the official Elixir image and includes the features of that image.
At the time of writing, this Dockerfile results in an image that also contains:
It also includes the following ONBUILD steps for convenience of use as a base image itself:
/usr/src/apppackage.json and brunch-config.js and installs npm dependenciesMIX_ENV to prodAll of the above occur before any custom instructions in a child Dockerfile that uses FROM to inherit from this one.
The latest tag on Docker Hub should always be reasonably in sync with the tip of master within this repository via automated builds. Starting with 1.2.4, git tags will also result in a corresponding Docker Hub tag.
Want to check the current versions included in the latest image in light of future rebuilds?
docker run -it --rm shanesveller/phoenix-framework node -vdocker run -it --rm shanesveller/phoenix-framework npm -vdocker run -it --rm shanesveller/phoenix-framework mix hex.infoMIX_ENV is set to prod globally for all commands run in the Docker container, unless overridden on a per-command basis or a later ENV Dockerfile instructionONBUILD instructions in the base image's Dockerfile, as these are executed dynamically while building your app, prior to ANY of the instructions in your own Dockerfile.Not happy with the Dockerfile steps? Having compatibility problems? Try one of these alternatives:
Content type
Image
Digest
sha256:c8b019629…
Size
337.8 MB
Last updated
over 8 years ago
docker pull shanesveller/phoenix-framework