diff --git a/dockerfile b/dockerfile index a4f55f5..90ec72c 100644 --- a/dockerfile +++ b/dockerfile @@ -53,7 +53,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer # so when we execute CLI commands, all the host file's ownership remains intact # otherwise command from inside container will create root-owned files and directories ARG uid -RUN useradd -G www-data,root -u 1 -d /home/devuser devuser +RUN useradd -G www-data,root -u 911 -d /home/devuser devuser RUN mkdir -p /home/devuser/.composer && \ chown -R devuser:devuser /home/devuser && \ chown -R devuser /home/devuser/.composer/