Closed sneycampos closed 5 months ago
Does https://github.com/dunglas/frankenphp/issues/490#issuecomment-1902702199 answer your question?
Does #490 (comment) answer your question?
Think so. I'm just trying to figure out how to build with these Caddy Modules and adding a custom Caddyfile to my application.
@sneycampos see https://frankenphp.dev/docs/docker/#how-to-install-more-caddy-modules which explains how to build with additional plugins
Thank you @francislavoie, forgot to close the issue. Before this i just want to say that in this documentation link, in the code says "# Mercure and Vulcain are included in the official build, but feel free to remove them" but if we remove from the build and don't remove from Caddyfile it will throw an error.
Closed the issue because it's not a issue per se, but i think is a nice to have in default build the option to set scripts, like .sh scripts, in a directory to be ran in the service initialization
There's any way to run "custom" entrypoint into the container?
I realise that I'm a bit late to the party, but this is a common requirement for container workloads. If you're looking for a generic solution, then may I suggest using the Heroku Procfile syntax to define custom entrypoints / commands. We put together bash functions which do the heavy lifting ref: https://github.com/panubo/bash-container
Describe you feature request
Is your feature request related to a problem? Please describe. one of the steps that i use to run an laravel application is running
php artisan optimize
into the container There's any way to run "custom" entrypoint into the container?Describe the solution you'd like I used to use webdevops php images to run php applications and one of his features is to run multiple scripts before the application is really up, for example: all scripts into
/opt/docker/provision/entrypoint.d/
(webdevops documentation) will ran into the application context, like user.Describe alternatives you've considered Meanwhile i'm using in Dockerfile something like:
run.sh
Dockerfile