From a87647995dc9eeca48d845c3f83c7b51319fad49 Mon Sep 17 00:00:00 2001 From: Nathan Thompson Date: Fri, 17 Jun 2016 00:53:08 -0600 Subject: [PATCH] Separate call to upgrade npm so that it occurs before any other installs --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 771adc462d..97e458f39b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,8 @@ RUN apt-get clean RUN rm -rf /var/lib/apt/lists/* # Install global packages -RUN npm install -g gulp grunt-cli bower npm@3 +RUN npm install -g npm@3 +RUN npm install -g gulp grunt-cli bower # Clone Habitica repo and install dependencies WORKDIR /habitrpg