add git to docker

This commit is contained in:
Jurgis Sakalauskas
2025-01-08 13:14:13 +02:00
parent 6df493fab3
commit 0734c8eb11
+2
View File
@@ -12,6 +12,8 @@ RUN if [ -z "${UID}" ] ; then echo UID argument is NOT provided ; else usermod -
# enable mod_rewrite for laravel routing to work (.htaccess) # enable mod_rewrite for laravel routing to work (.htaccess)
RUN a2enmod rewrite RUN a2enmod rewrite
RUN apt-get update && apt-get install -y git
COPY . /var/www/html COPY . /var/www/html
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer