summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a7aabdb..63d3047 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,6 +5,9 @@ pipeline {
stage('BuildIt') {
steps {
echo 'Building..'
+ sh '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'
}
}
stage('TestIt') {