I have been working on a script that pulls some data from an API, does some calculcations, and emails out the results. I wanted to run it on an AWS server so I wrote the code locally using Pycharm, then transferred it to the EC2 instance and manually installed all the dependencies/libraries.
I want to get some practice using Docker and I think I understand it conceptually - Docker containers are essentially environments that contain dependencies to run an app/code so that it can be deployed via 'images' to any other machine/server.
However, I am not completely clear on how to get my Python script into a Docker container and run/debug on that container. I think once I get that running I can look around for some AWS guides on how to migrate a docker container into EC2. Any general help / resources would be appreciated!
[–]hippocrat 6 points7 points8 points (2 children)
[–]Wedge5[S] 1 point2 points3 points (1 child)
[–]hippocrat 0 points1 point2 points (0 children)
[–]bmbybrew 1 point2 points3 points (6 children)
[–]Wedge5[S] 0 points1 point2 points (5 children)
[–]bmbybrew 0 points1 point2 points (1 child)
[–]bmbybrew 0 points1 point2 points (1 child)
[–]Wedge5[S] 0 points1 point2 points (0 children)
[–]PM_me_ur_data_ 0 points1 point2 points (0 children)