mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -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-install iconv pdo pdo_mysql bcmath pcntl exif
|
||||||
RUN docker-php-ext-configure gd --with-jpeg --with-freetype
|
RUN docker-php-ext-configure gd --with-jpeg --with-freetype
|
||||||
RUN docker-php-ext-install gd
|
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:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./docker-compose/cron.dockerfile
|
dockerfile: ./docker-compose/cron.dockerfile
|
||||||
container_name: cron
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user