Dockerfile pour Alpine:3.20 Php:83
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
FROM alpine:3.12
|
||||
FROM alpine:3.20
|
||||
|
||||
RUN apk add php7-apache2 php7-ldap php7-session php7-json php7-pecl-redis
|
||||
RUN apk add php83-apache2 php83-ldap php83-session php83-json php83-pecl-redis
|
||||
RUN sed -i "s|/var/www/localhost/htdocs|/var/www/html|g" /etc/apache2/httpd.conf
|
||||
# RUN rm /var/log/apache2/access.log /var/log/apache2/error.log
|
||||
RUN ln -s /dev/stdout /var/log/apache2/access.log
|
||||
RUN ln -s /dev/stderr /var/log/apache2/error.log
|
||||
RUN mkdir /var/www/html
|
||||
COPY www/ /var/www/html
|
||||
RUN chmod 777 /var/www/html/templates_c
|
||||
WORKDIR /var/www/html
|
||||
|
||||
VOLUME /var/www/html
|
||||
|
||||
Reference in New Issue
Block a user