Added docker production file (#8846)

* Added docker production file

* Added tag clone

* Removed docker prod
This commit is contained in:
Keith Holliday
2017-07-01 11:28:51 -05:00
committed by Sabe Jones
parent d3d221dccb
commit 5b7c7b77c8
2 changed files with 21 additions and 20 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:boron
# Install global packages
RUN npm install -g gulp grunt-cli bower mocha
# 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
# Create Build dir
RUN mkdir -p ./website/build
# Start Habitica
EXPOSE 3000
CMD ["npm", "start"]