Created
April 1, 2020 15:58
-
-
Save cbonesana/025dd6707480caec9ed61dc235dce8b2 to your computer and use it in GitHub Desktop.
Run a python scirpt inside docker 🐳
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run -it --rm -v "$(pwd)":"/w" -w "/w" python:3.8-slim python scripty.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print('Hello World!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment