From 1bd9582b2c462dbdfdcd06762d881475cbfbf418 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Wed, 9 Dec 2015 16:32:39 -0500 Subject: [PATCH] refactor(Dockerfile): more readable comments re IP --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d5df5ba6c..fa9accc94a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,9 +30,11 @@ RUN cd /habitrpg && bower install --allow-root # Create environment config file and build directory RUN cd /habitrpg && cp config.json.example config.json -RUN cd /habitrpg && sed -i 's/localhost/0.0.0.0/g' config.json # CHANGE IP TO MONGO CONTAINER IP RUN mkdir -p /habitrpg/website/build +# Point config.json to Mongo instance. Edit the IP address to your running Mongo container's IP before running. +RUN cd /habitrpg && sed -i 's/localhost/0.0.0.0/g' config.json + # Start Habitica EXPOSE 3000 WORKDIR /habitrpg/