# This pulls the latest python containers from docker hub. Should go fast
# unless your docker setup is way out of date.
docker pull python

# this command reads the Dockerfile to build a docker container called
# "tdf3-kas-virtru". The build process copies the local directory into the container.
# IT also gets fresh copies of all the dependencies.
#
# If there are no changes to the source code this step goes fast.
docker build -t tdf3-kas-virtru .

# this command runs the "tdf3-kas-virtru" with container port 4000 bound to localhost:4000
docker run -t -p 127.0.0.1:"$1":8000 tdf3-kas-virtru

# Both of these commands assume that docker is set up and heallthy on your machine
