Skip to content
Snippets Groups Projects
Commit f7ff1915 authored by ROUILLON Tom's avatar ROUILLON Tom
Browse files

Update dockerfile to change chmod after composer install

parent 5993c4b5
No related branches found
No related tags found
No related merge requests found
......@@ -10,12 +10,12 @@ RUN apt update && apt install -y zlib1g-dev g++ git libicu-dev zip libzip-dev zi
ADD ./Back_end /var/www/symfony_docker
WORKDIR /var/www/symfony_docker
RUN chmod 777 -R /var/www/symfony_docker/var
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN curl -sS https://get.symfony.com/cli/installer | bash
RUN mv /root/.symfony5/bin/symfony /usr/local/bin/symfony
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN composer install
\ No newline at end of file
RUN composer install
RUN chmod 777 -R /var/www/symfony_docker/var
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment