mirror of
https://github.com/HabitRPG/habitica.git
synced 2026-05-08 02:48:03 -05:00
19 lines
431 B
Plaintext
19 lines
431 B
Plaintext
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 --branch v3.99.0 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"]
|