Public Repository

Last pushed: a year ago
Short Description
Alpine OS - Meteor 1.4.2.3, Ready to use
Full Description

HOW IT WORKS?

Meteor build
$ meteor build /path/for/build --architecture os.linux.x86_64
Dockerfile (in build folder)

FROM meteorjs/meteor-alpine
ADD ./meteorBuild.tar.gz /root/app
RUN (cd programs/server && npm i && npm run install)

Docker build
$ docker build -t app:1.0.0 .
Run (Minimal config)
$ docker run -d -p 3000:3000 \
      -e MONGO_URL="mongodb://mongo:27017/db" \
      app:1.0.0
Run (Advanced config)

You can overwrite all ENV variables that Meteor has:

$ docker run -d -p 80:3000 \
      -e ROOT_URL=http://myhost \
      -e PORT=3000 \
      -e MONGO_URL="mongodb://mongo:27017/db" \
      -e METEOR_SETTINGS="{}" \
      -e MONGO_OPLOG_URL=mongodb://usr:pass@mongo:27017/local?authSource=admin \
      -e MY_CUSTOM="something" \
      app:1.0.0

For extra smallest meteor images see

meteorjs/base & meteorjs/cli

Docker Pull Command
Owner
meteorjs

Comments (2)
garyascuy
a year ago

Run Mongo 3.2

$ docker run -d -p 27017:27017 \
      --name=mongo \
      mongo:3.2
garyascuy
a year ago

I will learn more about how this markdown works and I will improve this adding details about how you can create a build in meteor :P meteor build /path/for/build --architecture os.linux.x86_64