add a few missing php-extensions to Dockerfile
This commit is contained in:
parent
486f5c837e
commit
4548f7de9c
18
Dockerfile
18
Dockerfile
@ -1,23 +1,25 @@
|
|||||||
FROM php:8.0-apache
|
FROM php:8.0-apache
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
COPY ./www /var/www/html
|
RUN apt-get update && \
|
||||||
|
apt-get install -y git curl procps zip msmtp bsd-mailx sqlite3 && \
|
||||||
RUN apt-get update && \
|
apt-get install -y imagemagick && \
|
||||||
apt-get install -y git curl procps zip msmtp bsd-mailx && \
|
|
||||||
apt-get install -y imagemagick && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
RUN docker-php-ext-install pdo pdo_mysql bcmath
|
||||||
|
|
||||||
COPY .docker /_docker
|
COPY .docker /_docker
|
||||||
|
|
||||||
RUN chmod +Xx /_docker/run.sh && \
|
RUN chmod +Xx /_docker/run.sh && \
|
||||||
chmod +Xx /_docker/init.sh
|
chmod +Xx /_docker/init.sh
|
||||||
|
|
||||||
# MapVolumes for: /var/www/html/config.php
|
COPY ./www /var/www/html
|
||||||
# MapVolumes for: /var/www/html/dynamic/egg
|
|
||||||
# MapVolumes for: /var/www/html/dynamic/logs
|
# MapVolumes for: /var/www/html/config.php [ro]
|
||||||
|
# MapVolumes for: /var/www/html/dynamic [rw]
|
||||||
|
# MapVolumes for: /var/www/html/data/dynamic [rw]
|
||||||
|
# MapVolumes for: /var/www/html/data/binaries [ro]
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user