mirror of
https://codeberg.org/angestoepselt/refund-form.git
synced 2025-05-24 14:46:16 +00:00
update to php83 and alpine 3.20
This commit is contained in:
parent
817ed574ef
commit
0cedb9d89d
2 changed files with 8 additions and 7 deletions
13
Dockerfile
13
Dockerfile
|
|
@ -1,7 +1,8 @@
|
||||||
ARG ALPINE_VERSION=3.18
|
ARG ALPINE_VERSION=3.20
|
||||||
|
|
||||||
FROM alpine:${ALPINE_VERSION}
|
FROM alpine:${ALPINE_VERSION}
|
||||||
LABEL Maintainer="Matthias Hemmerich matthias+code@mailbro.de"
|
LABEL Maintainer="Matthias Hemmerich matthias+code@mailbro.de"
|
||||||
LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Lightweight container with Nginx 1.20 & PHP 8.0 based on Alpine Linux."
|
LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Lightweight container with Nginx & PHP based on Alpine Linux."
|
||||||
|
|
||||||
# Setup document root
|
# Setup document root
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
@ -11,16 +12,16 @@ RUN apk update \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
nginx \
|
||||||
php82 \
|
php83 \
|
||||||
php82-fpm \
|
php83-fpm \
|
||||||
supervisor
|
supervisor
|
||||||
|
|
||||||
# Configure nginx
|
# Configure nginx
|
||||||
COPY config/nginx.conf /etc/nginx/nginx.conf
|
COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
# Configure PHP-FPM
|
# Configure PHP-FPM
|
||||||
COPY config/fpm-pool.conf /etc/php82/php-fpm.d/www.conf
|
COPY config/fpm-pool.conf /etc/php83/php-fpm.d/www.conf
|
||||||
COPY config/php.ini /etc/php82/conf.d/custom.ini
|
COPY config/php.ini /etc/php83/conf.d/custom.ini
|
||||||
|
|
||||||
RUN mkdir /etc/supervisor.d \
|
RUN mkdir /etc/supervisor.d \
|
||||||
&& \
|
&& \
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ logfile_maxbytes=0
|
||||||
pidfile=/run/supervisord.pid
|
pidfile=/run/supervisord.pid
|
||||||
|
|
||||||
[program:php-fpm]
|
[program:php-fpm]
|
||||||
command=php-fpm82 -F
|
command=php-fpm83 -F
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue