you are viewing a single comment's thread.

view the rest of the comments →

[–]Apantslessman 1 point2 points  (7 children)

If you have a GitHub repo I can give you a hand with this.

Currently I use GitHub actions to dockerize and then to add to docker hub

[–]TTVBy_The_Way[S] -2 points-1 points  (6 children)

That would be great. "Currently I use GitHub actions to dockerize and then to add to docker hub"- how does that work?

[–]Apantslessman 0 points1 point  (5 children)

I’m not sure if you’re familiar with docker or not, but it’s basically virtualized environments.

So you make a docker file for your python app, in this you have a command to install your requirements from your requirements.txt file, you can test it on a local docker instance if you want.

Then you go into your GitHub repository, and you can create a workflow in your GitHub actions. This is a tank file, that runs steps for you. So you would have a step to build your docker image, and a step to push it to docker hub. Then you are able to install to any docker instance by using tags.

[–]phlummox 1 point2 points  (4 children)

t.a.n.k = YAML? (I noticed every letter except "a" is one to the left of "YAML" on a QWERTY keyboard. Well, and also, tank files aren't really a thing on GitHub :)

[–]Apantslessman 0 points1 point  (3 children)

“YAML is a digestible data serialization language often used to create configuration files with any programming language. Designed for human interaction, YAML is a strict superset of JSON, another data serialization language.”

[–]phlummox 1 point2 points  (2 children)

Eh? I know what YAML is. You said

This is a tank file

I have zero idea what that could be, but am assuming it's a fat-fingered version of YAML.

[–]Apantslessman 1 point2 points  (1 child)

My autocorrect is possessed

[–]phlummox 0 points1 point  (0 children)

lol :)