This commit is contained in:
Phillip Thelen
2024-06-19 18:33:18 +02:00
parent 93cf30eb18
commit 61a61724ca

View File

@@ -5,10 +5,7 @@ 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", "./"]
RUN npm install
# Copy the remaining source files in.
COPY . /usr/src/habitica
WORKDIR /usr/src/habitica
RUN npm install
RUN npm run postinstall