diff --git a/build.sh b/build.sh index 925d87a..7420632 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ sudo docker stop EnglishPal sudo docker rm EnglishPal # Rebuild container. Run this after modifying the source code. -sudo docker build -t englishpal . +sudo docker build -t englishpal --no-cache . # Run the application sudo docker run --restart=always -d --name EnglishPal -p 90:80 -v ${DEPLOYMENT_DIR}/app/static/frequency:/app/static/frequency --mount type=volume,src=englishpal-db,target=/app -t englishpal # for permanently saving data