Change Dockerfile FROM image to -apache flavour (-cli is only for dev)
This commit is contained in:
parent
3147f68899
commit
ba7102063e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue