refactor(Dockerfile): more readable comments re IP

This commit is contained in:
Sabe Jones 2015-12-09 16:32:39 -05:00
parent 816ce5b782
commit 1bd9582b2c

View file

@ -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/