fix: ensure we can execute run commands when exec is executed as part of an entrypoint

Closes #8052
This commit is contained in:
Jose Diaz-Gonzalez
2025-11-19 20:34:51 -05:00
parent 2bd4272424
commit 6f095271e1
5 changed files with 47 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -o pipefail
exec "$@"

View File

@@ -0,0 +1,11 @@
FROM python:3.12.6-bookworm
EXPOSE 3001/udp
EXPOSE 3000/tcp
EXPOSE 3003
COPY . /app
WORKDIR /app
ENTRYPOINT ["/app/exec-entrypoint.sh"]

View File

@@ -0,0 +1 @@
task: echo 'hi dokku'