mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-03 14:31:43 +08:00
dockerfile
This commit is contained in:
parent
b372451a76
commit
94724ca443
@ -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 ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
RUN apt-get -qq update \
|
RUN apt-get -qq update \
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
RUN echo pwd
|
|
||||||
COPY ./open_im_api ./
|
COPY ./open_im_api ./
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
@ -19,7 +19,7 @@ do
|
|||||||
make build
|
make build
|
||||||
image="${repository}/${image_names[${i}]}:$version"
|
image="${repository}/${image_names[${i}]}:$version"
|
||||||
echo ${image}
|
echo ${image}
|
||||||
docker build -t $image . -f ${path}/deploy.Dockerfile
|
docker build -t $image . -f ./deploy.Dockerfile
|
||||||
echo "build ${image} success"
|
echo "build ${image} success"
|
||||||
docker push ${image}
|
docker push ${image}
|
||||||
echo "push ${image} success"
|
echo "push ${image} success"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user