mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
13 lines
312 B
Plaintext
13 lines
312 B
Plaintext
FROM node:20
|
|
|
|
# Install global packages
|
|
RUN npm install -g gulp-cli mocha
|
|
|
|
# Copy package.json and package-lock.json into image, then install
|
|
# dependencies.
|
|
WORKDIR /usr/src/habitica
|
|
COPY ["package.json", "package-lock.json", "./"]
|
|
# Copy the remaining source files in.
|
|
COPY . /usr/src/habitica
|
|
RUN npm install
|