mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-18 03:38:51 +00:00
refactor(Dockerfile): more readable comments re IP
This commit is contained in:
parent
816ce5b782
commit
1bd9582b2c
1 changed files with 3 additions and 1 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in a new issue