HUB
Sign inSign up
meteor-node-alpine logo

staeke/meteor-node-alpine

By staeke

•Updated almost 7 years ago

68 MB Meteor production image with node.js, built on Alpine Linux.

Image
0

669

staeke/meteor-node-alpine repository overview

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
...

⁠A note on security

  • A 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).
  • Remember that if you set up your docker build using the meteor user, that you most typically want to run docker COPY commands with --chown=meteor flag.

Tag summary

Content type

Image

Digest

Size

21.6 MB

Last updated

almost 7 years ago

docker pull staeke/meteor-node-alpine:1.8.2