🏡 index : github.com/captn3m0/jqaas.git

author Nemo <commits@captnemo.in> 2023-12-12 14:15:11.0 +05:30:00
committer Nemo <commits@captnemo.in> 2023-12-12 14:15:11.0 +05:30:00
commit
2bca10c455dc081c54ea074cc36bf673c27c842c [patch]
tree
bad683522b5fce42b9e0a268ea3e1d0aefad17c6
parent
594929b6f0f8d2cd1e18e519b4679d8034dcdb7a
download
2bca10c455dc081c54ea074cc36bf673c27c842c.tar.gz

Upgrade to Alpine 3.19/php8.2



Diff

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5d16a5d..52ee081 100644
--- a/Dockerfile
+++ a/Dockerfile
@@ -1,9 +1,9 @@
FROM alpine:3.18
FROM alpine:3.19
LABEL maintainer="github.contact@captnemo.in"

# Setup apache and php
RUN apk add --no-cache --update \
    php81-apache2 php81-openssl \
    php82-apache2 php82-openssl \
    && mkdir /htdocs \
    && sed -i 's#^DocumentRoot ".*#DocumentRoot "/htdocs"#g' /etc/apache2/httpd.conf \
	&& sed -i 's#Directory "/var/www/localhost/htdocs"#Directory "/htdocs"#g' /etc/apache2/httpd.conf