mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix docker issue
This commit is contained in:
@ -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
|
||||
|
||||
@ -50,7 +50,6 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./docker-compose/cron.dockerfile
|
||||
container_name: cron
|
||||
volumes:
|
||||
- ./:/var/www
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user