mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
19 lines
424 B
Docker
19 lines
424 B
Docker
FROM node:8
|
|
|
|
# Install global packages
|
|
RUN npm install -g gulp-cli 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 cp config.json.example config.json
|
|
RUN npm install
|
|
|
|
# Create Build dir
|
|
RUN mkdir -p ./website/build
|
|
|
|
# Start Habitica
|
|
EXPOSE 3000
|
|
CMD ["npm", "start"]
|