Skip to content

Commit dbdfb5f

Browse files
authored
Update Dockerfile
1 parent df63425 commit dbdfb5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM php:8.1-cli
22

33

4-
RUN apt-get update && apt-get install -y libzip-dev
5-
RUN docker-php-ext-install zip
4+
RUN apt-get update && apt-get install -y libzip-dev libpq-dev
5+
RUN docker-php-ext-install zip pdo pdo_pgsql
66

77
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
88
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
@@ -11,6 +11,7 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
1111
WORKDIR /app
1212

1313
COPY . .
14+
1415
RUN composer install
1516

1617
CMD ["bash", "-c", "make start"]

0 commit comments

Comments
 (0)