Update dockerfile

pull/8/head
SuperDev 3 years ago committed by GitHub
parent d7c260fbbd
commit ace1733843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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/

Loading…
Cancel
Save