fix dockerfile permission issue (#426)

This commit is contained in:
Samuel Tan 2022-10-26 04:43:26 +08:00 committed by GitHub
parent 36a91c8d4d
commit d060650833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,4 +10,5 @@ COPY resources/php.ini /usr/local/etc/php/
COPY . /var/www/html/ COPY . /var/www/html/
RUN php composer.phar check-platform-reqs --no-dev RUN php composer.phar check-platform-reqs --no-dev
RUN php composer.phar install --prefer-dist --no-progress --no-dev --optimize-autoloader RUN php composer.phar install --prefer-dist --no-progress --no-dev --optimize-autoloader
RUN chmod 770 -R /var/www/html/templates_c/
ENV CONVERT=1 ENV CONVERT=1