Skip to content

Commit

Permalink
Merge pull request #31 from Moros1138/add-pgsql-to-supported-databases
Browse files Browse the repository at this point in the history
install pqsql for production
  • Loading branch information
Moros1138 authored Apr 28, 2024
2 parents 049f050 + 32e2fd8 commit 789d907
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
apt-get install -y \
micro \
libpq-dev \
python3 \
autoconf \
bison \
Expand Down Expand Up @@ -43,7 +44,9 @@ RUN cd /nsjail && \
WORKDIR /var/www/html

RUN docker-php-ext-configure opcache --enable-opcache && \
docker-php-ext-install pdo pdo_mysql
docker-php-ext-install pdo pdo_mysql && \
docker-php-ext-install pdo pdo_pgsql

COPY docker/php/conf.d/opcache.ini /usr/local/etc/php/conf.d/opcache.ini

COPY --from=buildNode /usr/src/app /var/www/html
Expand Down

0 comments on commit 789d907

Please sign in to comment.