Change Dockerfile FROM image to -apache flavour (-cli is only for dev)

This commit is contained in:
Bofh 2022-12-17 13:33:35 +01:00
parent 3147f68899
commit ba7102063e
1 changed files with 5 additions and 1 deletions

View File

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