I have currently built a dockerfile with python script “ingest_data.py” to create and populate a table in postgresql. Upon successfully building and running my dockerfile I realized that I need to create another table named zones. My question is can I create another python script called “upload_zones.py” to populate a table in postgresql using the syntax attached in the attached image?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
HOW to create a docker container when i have two python scripts which are dependent to each other? | 14 | 16907 | October 9, 2022 | |
Docker Mysql : pipe in multiple sql scripts | 1 | 2328 | May 8, 2021 | |
How run a script inside docker container? | 9 | 10276 | September 10, 2020 | |
Official Python Image: How to execute multiple scripts at once? | 1 | 2381 | August 16, 2020 | |
Create a Docker Image of a sql file | 8 | 5627 | June 24, 2019 |