Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.04 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.04 KB

simple-docker-example

The docker image is defined in the Dockerfile. See comments in the Dockerfile for more information.

Build the docker image

the image name is "simple-python-app", the . means that it will look for the Dockerfile in the current directory

docker build -t simple-python-app .

Run the docker container

docker run --mount type=bind,source="/Users/<my-user-name>/storage",target=/storage -p 8080:8080 -it --rm --name simple-python-app simple-python-app