diff --git a/Dockerfile b/Dockerfile
index b871c5ff2edc2d530f071c797ff43f14cb4ce494..b87b2fdcc6c87ea5d273e5cb2a87bcb0fee38fc5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-cer
 
 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"
 
@@ -16,7 +18,5 @@ RUN chmod 700 ~/.ssh
 RUN touch ~/.ssh/known_hosts
 RUN chmod 644 ~/.ssh/known_hosts
 
-USER node
-
 COPY src/ build/
 CMD ["/build/release.sh"]
\ No newline at end of file