fix docker issue

This commit is contained in:
Mohit Panjwani
2021-12-02 17:49:10 +05:30
parent 5b50dadd91
commit 3934025d67
2 changed files with 34 additions and 30 deletions

View File

@ -42,3 +42,8 @@ RUN docker-php-ext-install zip
RUN docker-php-ext-install iconv pdo pdo_mysql bcmath pcntl exif
RUN docker-php-ext-configure gd --with-jpeg --with-freetype
RUN docker-php-ext-install gd
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php \
&& php -r "unlink('composer-setup.php');" \
&& mv composer.phar /usr/bin/composer

View File

@ -50,7 +50,6 @@ services:
build:
context: ./
dockerfile: ./docker-compose/cron.dockerfile
container_name: cron
volumes:
- ./:/var/www
networks: