Change default git branch

This commit is contained in:
Knah Tsaeb 2024-09-18 10:47:58 +02:00
parent 10d0d44769
commit c5bc73aba8

View file

@ -14,7 +14,7 @@ RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.d
RUN rm -r /var/www/ && mkdir /var/www/
WORKDIR /var/www/
RUN git clone https://forge.leslibres.org/Knah-Tsaeb/Soshot.git --branch dev --single-branch --depth 1 .
RUN git clone https://forge.leslibres.org/Knah-Tsaeb/Soshot.git --branch main --single-branch --depth 1 .
RUN composer install --no-dev && chown -R www-data:www-data /var/www/
RUN cp .docker/start.sh /usr/bin/start.sh