Skip to content

Commit

Permalink
Add custom port info to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aldeed committed Nov 23, 2016
1 parent ba5ea3f commit 85eff5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ Assuming you have Docker running, you can build an image of your Meteor.js app b

## Running your app image

The root process of the image will be set to the Node.js entrypoint for your Meteor application, so you can pass runtime settings straight into `docker run -e`, or bake them into your image with `ENV` directives in your Dockerfile. Node.js will listen on port 80 inside the container, but you can bind this to any port on the host.
The root process of the image will be set to the Node.js entrypoint for your Meteor application, so you can pass runtime settings straight into `docker run -e`, or bake them into your image with `ENV` directives in your Dockerfile.

Node.js will listen on port 80 inside the container, but you can bind this to any port on the host. You can also specify a different internal port if you need to like this:

FROM quay.io/chriswessels/meteor-tupperware
ENV PORT=8080

Example of passing options into `docker run` at runtime:

Expand Down

0 comments on commit 85eff5f

Please sign in to comment.