68 MB Meteor production image with node.js, built on Alpine Linux.
669
Github: https://github.com/staeke/meteor-alpine
This is a small runner/production image that corresponds to the builder images found here https://hub.docker.com/r/staeke/meteor-alpine/
They are tagged with the specific meteor version, so for instance, for Meteor 1.8.2 you can write your Dockerfile as
FROM staeke/meteor-node-alpine:1.8.2
...
...or if you use npm
package.json:
"scripts": {
"build": "docker build . --build-arg METEOR_VERSION=$(cat app/.meteor/release) -t my-app"
}
Dockerfile:
ARG METEOR_VERSION
FROM staeke/meteor-node-alpine:$METEOR_VERSION
...
meteor user (uid 1001) has been setup to match the builder image, but no USER meteor command has been issued. Thus it's up to you to do it (if you want to).meteor user, that you most typically want to run docker COPY commands with --chown=meteor flag.Content type
Image
Digest
Size
21.6 MB
Last updated
almost 7 years ago
docker pull staeke/meteor-node-alpine:1.8.2