fix dockerfiles to not require entering container to run app (#8911)

This commit is contained in:
Ben Harvill 2017-08-02 14:11:25 -05:00 committed by Sabe Jones
parent cf0ce90968
commit add2743772
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ RUN npm install -g gulp grunt-cli bower mocha
RUN mkdir -p /usr/src/habitrpg
WORKDIR /usr/src/habitrpg
RUN git clone https://github.com/HabitRPG/habitica.git /usr/src/habitrpg
RUN cp config.json.example config.json
RUN npm install
RUN bower install --allow-root

View file

@ -1,3 +1,3 @@
web:
volumes:
- '.:/habitrpg'
- '.:/usr/src/habitrpg'