This assumes Docker is installed and running on your computer. See data-210/dev-resources for more instruction and explanation of Docker terminology.
-
Open a terminal via your preferred method (Terminal, iTerm2, or from within your IDE such as VSCode) and navigate to your local repository.
-
Build a Docker image from the Dockerfile. Replace
$IMAGE_NAME
with whatever variable you want to use.
docker build -t $IMAGE_NAME .
- Run the container
docker run -p 8050:8050 $IMAGE_NAME