From 94724ca44396ed560f904b522e6ce6b614e7ba0b Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 16 Jun 2023 13:20:45 +0800 Subject: [PATCH] dockerfile --- cmd/api/deploy.Dockerfile | 1 - script/build_push_k8s_images.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/api/deploy.Dockerfile b/cmd/api/deploy.Dockerfile index 97093c830..637c4629b 100644 --- a/cmd/api/deploy.Dockerfile +++ b/cmd/api/deploy.Dockerfile @@ -16,7 +16,6 @@ RUN apt-get install -y vim curl tzdata gawk RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata RUN apt-get -qq update \ && apt-get -qq install -y --no-install-recommends ca-certificates curl -RUN echo pwd COPY ./open_im_api ./ VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"] diff --git a/script/build_push_k8s_images.sh b/script/build_push_k8s_images.sh index 7deaf476f..ec0d3b653 100644 --- a/script/build_push_k8s_images.sh +++ b/script/build_push_k8s_images.sh @@ -19,7 +19,7 @@ do make build image="${repository}/${image_names[${i}]}:$version" echo ${image} - docker build -t $image . -f ${path}/deploy.Dockerfile + docker build -t $image . -f ./deploy.Dockerfile echo "build ${image} success" docker push ${image} echo "push ${image} success"