Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for deployment script in specified REPO_PATH_DIR #6

Closed
wants to merge 2 commits into from

Conversation

BryanBaird
Copy link

Adapting the approach that is used in Civis's streamlit library here: https://github.com/civisanalytics/civis-services-streamlit/blob/main/entrypoint.sh#L7

This change is intended to make the Docker image more flexible for deployed services within Civis Platform, so that we can use it for arbitrary applications and directories. It still looks for an "start_service" shell script instead of just a Python app script, but that at least can be customized each user's need with this container.

Targeted for issue #5

Adapting the approach that is used in Civis's streamlit library here: https://github.com/civisanalytics/civis-services-streamlit/blob/main/entrypoint.sh#L7

This change is intended to make the Docker image more flexible for deployed services within Civis Platform, so that we can use it for arbitrary applications and directories. It still looks for an "start_service" shell script instead of just a Python app script, but that at least can be customized each user's need with this container.
@BryanBaird
Copy link
Author

This approach also seems to better match what is used in civis-services-shiny: https://github.com/civisanalytics/civis-services-shiny/blob/3116b68ff5225798c72da1080728da1f29b5fd9d/entrypoint.sh#L43

@mattyb
Copy link
Member

mattyb commented Aug 20, 2024

Thanks Bryan! These changes were included in #7

@mattyb mattyb closed this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants