FROM ubuntu:16.04
could be replaced with
FROM python:3
This will give a more clean python 3 only interface, and most likely a smaller image. Backside is that the image may need to be modified locally to add packages.
The use of python virtual environment is usually not necessary in a docker image.
FROM ubuntu:16.04
could be replaced withFROM python:3
This will give a more clean python 3 only interface, and most likely a smaller image. Backside is that the image may need to be modified locally to add packages.
The use of python virtual environment is usually not necessary in a docker image.