fix: ensure we can execute run commands when exec is executed as part of an entrypoint
Closes #8052
This commit is contained in:
4
tests/apps/python/exec-entrypoint.sh
Executable file
4
tests/apps/python/exec-entrypoint.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -o pipefail
|
||||
|
||||
exec "$@"
|
||||
11
tests/apps/python/exec.Dockerfile
Normal file
11
tests/apps/python/exec.Dockerfile
Normal 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"]
|
||||
1
tests/apps/python/exec.Procfile
Normal file
1
tests/apps/python/exec.Procfile
Normal file
@@ -0,0 +1 @@
|
||||
task: echo 'hi dokku'
|
||||
Reference in New Issue
Block a user