diff --git a/Dockerfile-Dev b/Dockerfile-Dev index b24336cf3e..3aa613c960 100644 --- a/Dockerfile-Dev +++ b/Dockerfile-Dev @@ -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