Docker-Compose run shell script before remote interpreter
Hi friends,
I apologize as I am relatively new to docker-compose and remote development. I have an airflow docker-compose setup using this image https://github.com/puckel/docker-airflow. The entrypoint.sh script must run before I interact with airflow, or else the settings are not correct. If I use Pycharm's docker-compose run configuration this entry point does not appear to be executing before my remote Python interpreter. To manually interact with the airflow instance I remote connect to the container and manually prefix all my commands with /entrypoint.sh. Any ideas?
Please sign in to leave a comment.
Update
I finally fixed my run configuration so my tests execute in the container exactly as expected, so that's great. Sadly, when I try to use the interactive Python console I am still screwed per the above.