docker file

This commit is contained in:
wangchuxiao 2023-06-16 11:28:49 +08:00
parent 1c1e05a8eb
commit e41c50d461
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FROM golang as build
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
COPY ../* ./Open-IM-Server
COPY ../* /Open-IM-Server
ENV WORKDIR /Open-IM-Server/cmd/api
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\

View File

@ -1,6 +1,9 @@
#!/usr/bin/env bash
version=errcode
repository=${1}
if [ -z ${repository} ]
exit 0
fi
set +e
echo "repository: ${repository}"