From 09bd6b9ddf54e1d82f16ea8f9280a3cad2d8d963 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Fri, 16 Jul 2021 19:20:31 +0800 Subject: [PATCH] build.sh: remove redundant build.sh in app/. --- app/build.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 app/build.sh 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 - -