Skip to content

Commit

Permalink
Added line to clean old files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gert-Jan committed Jul 4, 2019
1 parent c9c6de6 commit 9de7889
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions start_notebook_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ sed "s#{{PROJECT_FOLDER}}#$projectdir#g" docker_templates/docker-sync_template.y
#Make docker-compose file dependent for cpu
sed "s#{{IMAGE}}#phimal/cpu:latest#g" docker_templates/docker-compose_cpu.yml > docker-compose.yml

# Clean old docker-sync
sudo docker-sync-stack clean

# Run docker sync
sudo docker-sync-stack start
3 changes: 3 additions & 0 deletions start_notebook_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ sed "s#{{PROJECT_FOLDER}}#$projectdir#g" docker_templates/docker-sync_template.y
#Make docker-compose file dependent for cpu
sed "s#{{IMAGE}}#phimal/gpu:latest#g" docker_templates/docker-compose_template.yml > docker-compose.yml

# Clean old docker-sync-stack
sudo docker-sync-stack clean

# Run docker sync
sudo docker-sync-stack start

0 comments on commit 9de7889

Please sign in to comment.