diff --git a/Dockerfile b/Dockerfile
index a024a54c3d671dda77763a034bde6c073bf7fdf8..53f72023f982622ef41aa50ab27880eff6a98119 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -48,6 +48,8 @@ USER 1001:1001
 # are in the default path.
 COPY --from=builder /usr/local/src/dex/web web
 
+USER 1001:1001
+
 ENTRYPOINT ["dex"]
 
 CMD ["version"]