Change default git branch

This commit is contained in:
Knah Tsaeb 2024-09-18 10:47:58 +02:00
parent 954d24bbb2
commit 088d146b02

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/ RUN rm -r /var/www/ && mkdir /var/www/
WORKDIR /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 composer install --no-dev && chown -R www-data:www-data /var/www/
RUN cp .docker/start.sh /usr/bin/start.sh RUN cp .docker/start.sh /usr/bin/start.sh