habitica/Dockerfile

19 lines
414 B
Text
Raw Normal View History

FROM node:boron
2015-12-09 21:23:47 +00:00
# Install global packages
RUN npm install -g gulp grunt-cli bower mocha
2015-12-09 21:23:47 +00:00
# Clone Habitica repo and install dependencies
RUN mkdir -p /usr/src/habitrpg
WORKDIR /usr/src/habitrpg
RUN git clone https://github.com/HabitRPG/habitica.git /usr/src/habitrpg
RUN npm install
RUN bower install --allow-root
2015-12-09 21:23:47 +00:00
# Create Build dir
RUN mkdir -p ./website/build
2015-12-09 21:23:47 +00:00
# Start Habitica
EXPOSE 3000
CMD ["npm", "start"]