Skip to content

Commit

Permalink
Adiciona setup para postgres no docker
Browse files Browse the repository at this point in the history
  • Loading branch information
naaando committed Oct 26, 2023
1 parent 4c3f40f commit 3c88c68
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ RUN apt-get update && apt-get install -y \
zip \
unzip \
nodejs \
npm
npm \
postgresql-client \
libpq-dev

# Install PHP extensions
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-install pdo_mysql pdo_pgsql mbstring exif pcntl bcmath gd

# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Expand Down

0 comments on commit 3c88c68

Please sign in to comment.