Skip to content

Commit

Permalink
adding volume to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ipranjal committed Nov 3, 2023
1 parent 686a5f5 commit 67dbb3a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/docker_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Build the docker file
docker build -t digits:v1 -f ./docker/Dockerfile .
# Create out volume
docker volume create mltrain
# Mount our volume to models directory (where train data is stored)
docker run -v mltrain:/digits/models digits:v1

0 comments on commit 67dbb3a

Please sign in to comment.