diff --git a/web.Dockerfile b/web.Dockerfile
index 78373bad6229fe75776db5ba49e75ef7056a6c44..fdc9d59eb0dff8876c9c45cdab00a5a1d58f1593 100644
--- a/web.Dockerfile
+++ b/web.Dockerfile
@@ -1,14 +1,16 @@
 FROM archlinux:latest AS packager
 
+ENV USER=max
+
 RUN pacman-key --init
 RUN pacman -Sy --noconfirm base-devel git nginx
 
 RUN mkdir /build
 COPY ./files/ /build/
 
-RUN useradd -m max && chown -R max:max /build
-RUN echo "max ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
-USER max
+RUN useradd -m "$USER" && chown -R "$USER":"$USER" /build
+RUN echo ""$USER" ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
+USER "$USER"
 
 WORKDIR  /build/not_a_virus2.0
 RUN makepkg -s --noconfirm