diff --git a/Dockerfile b/Dockerfile
index b871c5ff2edc2d530f071c797ff43f14cb4ce494..7e8c53938980b21a744a11ef70c06686002e57bf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,8 @@ 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
 
 RUN git config --global user.email "ci-versioning@nexusmods.com"
@@ -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