From 75965223255ee79950336a255a8a382f27c7c4da Mon Sep 17 00:00:00 2001
From: Rory <rory.jennings@nexusmods.com>
Date: Tue, 25 Aug 2020 10:19:53 +0100
Subject: [PATCH] fix: set user after npm global install

---
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 7e8c539..b87b2fd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,10 +4,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-cer
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*
 
-USER node
-
 RUN npm i -g standard-version
 
+USER node
+
 RUN git config --global user.email "ci-versioning@nexusmods.com"
 RUN git config --global user.name "git"
 
-- 
GitLab