6 lines
179 B
Docker
6 lines
179 B
Docker
|
FROM php:8-alpine
|
||
|
|
||
|
RUN apk add autoconf gcc libc-dev make --update
|
||
|
RUN pecl install mongodb
|
||
|
RUN echo 'extension=mongodb.so' > /usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini
|