Specify the port as to play with Heroku.

This probably breaks things running locally. Let's talk about how we can use the 8888 for local
development. Please refer to https://devcenter.heroku.com/articles/container-registry-and-runtime
for information.

NOTE: the EXPOSE keyword is not respected on heroku because they control the ports. Hence the
environment variable PORT.

Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com>
pull/10616/head
Andrew Watkins 2016-09-22 10:59:56 -07:00 committed by Kevin Fitzpatrick
parent 0ca0cc80d1
commit 13eff5dbc5
1 changed files with 3 additions and 1 deletions

View File

@ -8,4 +8,6 @@ ADD mrfusion /mrfusion
EXPOSE 8888
CMD ["/mrfusion", "--port=8888"]
# ENV PORT ||= 8888
CMD ["/mrfusion", "--port=$PORT"]