soselo/Dockerfile

10 lines
222 B
Docker

FROM php:8.0-apache
RUN apt-get update && apt-get install libpq-dev -y
RUN docker-php-ext-install pgsql
RUN pecl install redis && docker-php-ext-enable redis
RUN echo 'Listen 8080' > /etc/apache2/ports.conf
EXPOSE 8080