Slim version of FrankenPHP Docker image?
I started using FrankenPHP recently and love this product.
But the Docker image of FrankenPHP is a little large to deploy a web app, so it would be great if there are much slim version of the image, without build dependencies and other unnecessary files.
By releasing the slim image with the same PHP version as the normal version, we will be able to copy the built extensions to the slim image:
FROM dunglas/frankenphp:sha-xxxxxxx AS builder RUN install-php-extensions opcache pdo_mysql memcached # --- FROM dunglas/frankenphp:slim-sha-xxxxxxx AS app COPY --from=cli /usr/local/lib/php/extensions /usr/local/lib/php/extensions COPY --from=cli /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/ EXPOSE 80 EXPOSE 443