Skip to content

Commit

Permalink
Merge pull request #751 from mfgustav0/docker
Browse files Browse the repository at this point in the history
Adicionado ao docker file extensão GD para teste unitário não gerar erro
  • Loading branch information
eduardokum authored Oct 8, 2024
2 parents 5630d6e + 82760fd commit b74112c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 2 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b74112c

Please sign in to comment.