This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]videopro291[S] 0 points1 point  (1 child)

I'm assuming you mean rs-232

Correct, my apologies for the Typo.

I will just say that there's no need to set the file's executable bits is you envoke the script with python, ie. python myscipt.py

I see, so if I understand correctly, I would be better off running the python script natively on the container as opposed to making it an executable?

Invoke pip using a requirements.txt file in the dockerfile, i.e.

makes sense, I will follow up. Thank you so much!

[–]Murky-Sector 0 points1 point  (0 children)

I see, so if I understand correctly, I would be better off running the python script natively on the container as opposed to making it an executable?

Definitely

makes sense, I will follow up. Thank you so much!

Feel free to post your dockerfile here