diff --git a/Dockerfile b/Dockerfile index 1f377a4c..40524785 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,16 +9,15 @@ RUN apk add --no-cache \ libzip-dev \ zlib-dev \ libsodium-dev \ - icu-dev + icu-dev \ + libpng-dev RUN docker-php-ext-configure intl -RUN docker-php-ext-install zip sodium intl +RUN docker-php-ext-install zip sodium intl gd RUN docker-php-ext-enable zip sodium RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - - WORKDIR /var/www EXPOSE 9000 diff --git a/docker-compose.yml b/docker-compose.yml index b6fb282c..97bae031 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,16 +1,12 @@ -version: '3.7' - services: - - laravel-boleto: + laravel.boleto: build: . container_name: laravel-boleto tty: true volumes: - - .:/var/www + - '.:/var/www' networks: - laravel-boleto-network - networks: laravel-boleto-network: driver: bridge