Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
source /venv/bin/activate
exec "$@"
exec "$@"
exec bash
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line exec bash will not be executed if the user provides custom commands. May be we could add a conditional statement to execute /bin/bash only if no command is provided so that we can still support both options (allow the container to default to an interactive shell)

Loading