summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 63d3047..2f2ca70 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,7 +5,7 @@ pipeline {
stage('BuildIt') {
steps {
echo 'Building..'
- sh 'docker build -t englishpal .'
+ sh 'sudo docker build -t englishpal .'
sh 'docker run -d -p 91:80 -v /home/lanhui/englishpal/app/static/frequency:/app/static/frequency -t englishpal'
sh 'docker system prune -a -f'
}