This commit is contained in:
dev-chiefworks
2022-04-13 19:27:29 -04:00
parent 1d40c76809
commit 4f001741c2
+2 -1
View File
@@ -14,6 +14,7 @@ RUN apt-get install -y \
libmcrypt-dev \
libreadline-dev \
libfreetype6-dev \
libssl-dev \
g++
RUN docker-php-ext-install \
@@ -41,7 +42,7 @@ RUN chmod +x /usr/local/bin/composer
RUN composer self-update
COPY / /var/www/html/
# 6. we need a user with the same UID/GID with host user
# 6. we need a user with the same UID/GID with host user
# 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=1000