towfiqi / serpbear

Search Engine Position Rank Tracking App
https://docs.serpbear.com/
MIT License
1.45k stars 146 forks source link

Dockerfile deployment fails with entrypoint.sh exec permission denied #241

Closed jasalt closed 2 weeks ago

jasalt commented 2 months ago

When deploying this repository from Coolify management panel by selecting the included Dockerfile as the "build pack", the startup fails with following permission error:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app/entrypoint.sh": permission denied: unknown

Fix seems to simply add executable bit to the file in repository with chmod +x entrypoint.sh. I'll send a pull request which can be merged if this is a correct thing to do. Maybe this can happen in other environments also..