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 | |
---|---|---|---|---|
Dockerfile for dockerizing python script giving errors in commandline | 5 | 1850 | February 5, 2023 | |
HOW to create a docker container when i have two python scripts which are dependent to each other? | 14 | 15779 | October 9, 2022 | |
Noobs Question about python scripts and Dockerfile | 0 | 371 | January 8, 2021 | |
Script is being called once and being run multiple times! | 7 | 11703 | September 4, 2015 | |
Docker Mysql : pipe in multiple sql scripts | 1 | 2297 | May 8, 2021 |