README.md: update path

Deployment BeginningOfSpring
Hui Lan 2022-02-05 23:05:00 +08:00
parent 2d4c516676
commit 2a92881581
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ My steps for deploying English on the server.
- Rebuild container. Run the following command to rebuild a docker image after the code gets updated: `sudo docker build -t englishpal .` - Rebuild container. Run the following command to rebuild a docker image after the code gets updated: `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`. If you use `sudo docker run -d -p 90:80 -t englishpal`, data will be lost after terminating the program. - Run the application: `sudo docker run -d -p 90:80 -v /home/lanhui/englishpal2/EnglishPal/app/static/frequency:/app/static/frequency -t englishpal`. If you use `sudo docker run -d -p 90:80 -t englishpal`, data will be lost after terminating the program.
- Save space: `sudo docker system prune -a -f` - Save space: `sudo docker system prune -a -f`