amazon ec2 - How to transfer files from a docker container running in AWS to my localhost -


i on windows machine. new dockers , aws. running containerized flask application in aws ec2. flask application outputs file , want copy file localhost programatically , not using filezilla.

currently in flask application using

from shutils import copy copy('predictiontest.csv', '/usr/src/app/static/') 

to copy predictiontest.csv aws ec2 instance. how can directly copy localhost (i.e computer , not localhost of container or aws) flask application.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

android - How to prevent keyboard from closing when bottom dialog is open? -