Meteor latest v1.1.0.2 slim and fast container for deployment
543
##SIZE matters when it comes to Meteor app deployment
This deployment container is:
Container size is very important if you pay for deployments.
Larger image size means:
With this container, the final image size for typical applications is around 130MB. Other containers may create image size of up to 800MB for the same application.
If you are adventurous, and want to try something even more bleeding-edge --> see this super slim deployment image tuned all the way down to 29 MB !
Originally inspired by meteord.
docker pull singli/meteor
Your app will be converted into a Docker image. Then you can deploy the image with any container hosting service(s).
Add following Dockerfile into the root of your app:
FROM singli/meteor
MAINTAINER Your Name
ENV ROOT_URL http://yourapp.com
In your app directory, add a set_env.sh file and set all the environment variables that you need (or for Docker container linking). set_env.sh will be parsed at runtime - just before startup of the meteor app.
Then you can build the docker image with:
docker build -t yourname/app .
Then you can run your meteor image with
docker run -d \
-p 8099:80 \
yourname/app
Then you can access your app at port 8099 of the host system.
Content type
Image
Digest
sha256:28cab611d…
Size
-
Last updated
over 11 years ago
docker pull singli/meteor