Merge pull request 'build.sh: fix error: container name EnglishPal already in use.' (#9) from Lanhui-build.sh into master

Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/9
BugFix284
mrlan 2021-07-30 13:21:22 +08:00
commit e841ca7d07
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ cd /home/lanhui/englishpal
# Stop service # Stop service
sudo docker stop EnglishPal sudo docker stop EnglishPal
sudo docker rm EnglishPal
# Rebuild container. Run this after modifying the source code. # Rebuild container. Run this after modifying the source code.
sudo docker build -t englishpal . sudo docker build -t englishpal .