diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-08-31 21:38:22 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-08-31 21:38:22 +0800 |
commit | d463e5715c2bf26be01c033d7a225fcd39776590 (patch) | |
tree | 61059227c22efcbabbeaa0c2bf9bb19fc3c84556 /app/build.sh | |
parent | 26ec40f634201ae72a910cd826e4eaaca9e20135 (diff) |
Prepre to use more recent stuff from Gitea
Diffstat (limited to 'app/build.sh')
-rwxr-xr-x | app/build.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/build.sh b/app/build.sh deleted file mode 100755 index 52cc695..0000000 --- a/app/build.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -cd /home/lanhui/englishpal - -# Stop service -sudo service docker restart - -# Rebuild container. Run this after modifying the source code. -sudo docker build -t englishpal . - -# Run the application -sudo docker run -d -p 90:80 -v /home/lanhui/englishpal/app/static/frequency:/app/static/frequency -t englishpal # for permanently saving data - -# Save space. Run it after sudo docker run -sudo docker system prune -a -f - - |