diff --git a/docker/Dockerfile_full b/docker/Dockerfile_full
index 9557830e37702a6214f10729af2a2cdc8d9328db..179d5f79eda8a3918fcc9f5c7ab24fb0c44e890e 100644
--- a/docker/Dockerfile_full
+++ b/docker/Dockerfile_full
@@ -25,6 +25,7 @@ RUN apt-get -y clean
 # Creation of a "non-root" user
 ENV USER "formation"
 RUN useradd --create-home ${USER}
+USER ${USER}
 
 # Default working directory is
 WORKDIR /home/${USER}
@@ -34,12 +35,11 @@ RUN rm -rf Miniconda3-latest-Linux-x86_64.sh
 
 # Changing to home
 WORKDIR /home/${USER}
-USER ${USER}
 
 # Create the environment:
 WORKDIR /home/${USER}/gettingstartedwithmoderncpp
 COPY environment.yml .
-RUN /home/${USER}/miniconda3/bin/conda env create -f environment.yml 
+RUN /home/${USER}/miniconda3/bin/conda env create -f environment.yml
 RUN /home/${USER}/miniconda3/bin/conda clean -a
 
 # Change the default shell to be bash