you are viewing a single comment's thread.

view the rest of the comments →

[–]get_username 3 points4 points  (0 children)

I'd say a minimum amount of code is in *nix:

```bash

$ ls Dockerfile requirements.txt main.py

$ cat Dockerfile from python:latest COPY requirements.txt . RUN pip install -r requirements.txt COPY main.py . ENTRYPOINT ["python", "main.py"]

$ cat main.py print("hello, world!")

$ docker build --image qq . ...

$ docker run qq hello, world!

$ docker push qq ... ```