All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
15 lines
577 B
Docker
15 lines
577 B
Docker
FROM alpine:latest
|
|
RUN apk --update add lighttpd fcgi php82 php82-fpm php82-gd php82-curl php82-cgi php82-mbstring php82-intl php82-bcmath php82-mysqli php82-posix php82-session php82-fileinfo && rm -rf /var/cache/apk/*
|
|
RUN ln -sf /usr/bin/php-cgi82 /usr/bin/php-cgi
|
|
RUN ln -sf /usr/sbin/php-fpm82 /usr/bin/php-fpm
|
|
|
|
RUN rm -rf /var/www/*
|
|
COPY index.php /var/www
|
|
|
|
COPY php.ini /etc/php82/php.ini
|
|
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
RUN mkdir -p /run/lighttpd/ && chown 100 /run/lighttpd/
|
|
|
|
EXPOSE 80
|
|
ENTRYPOINT php-fpm -D && lighttpd -D -f /etc/lighttpd/lighttpd.conf
|