Commit b42aeba1 authored by gmuser's avatar gmuser

change base image & use proj dockerfile

parent 0a50bbfe
FROM registry-vpc.cn-beijing.aliyuncs.com/gm-base/gm-alpine:v1.3
FROM ccr.ccs.tencentyun.com/gm-base/gm-alpine:v1.3
COPY ./requirements.txt /tmp
......@@ -50,5 +50,5 @@ COPY . /srv/apps/search_tips/
WORKDIR /srv/apps/search_tips/
CMD gunicorn gm_rpcd.wsgi:application -w 1 -k gevent -b 0.0.0.0:8000
CMD gunicorn gm_rpcd.wsgi:application -w 5 -k gevent -b 0.0.0.0:8000
......@@ -31,7 +31,7 @@ pipeline {
}
stage('Build Image') {
steps {
sh "docker build . ${params.CACHE} -t $IMAGE -f /srv/apps/search_tips/Dockerfile"
sh "docker build . ${params.CACHE} -t $IMAGE -f ./Dockerfile"
sh "docker push $IMAGE"
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment