refactor(Dockerfile): more readable comments re IP
This commit is contained in:
+3
-1
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user