diff --git a/cmd/api/deploy.Dockerfile b/cmd/api/deploy.Dockerfile index 3f49eff76..6d137c0bc 100644 --- a/cmd/api/deploy.Dockerfile +++ b/cmd/api/deploy.Dockerfile @@ -4,7 +4,8 @@ FROM golang as build ENV GO111MODULE=on ENV GOPROXY=https://goproxy.cn,direct -COPY ../../Open-IM-Server / +RUN mkdir -p /Open-IM-Server +COPY ../* /Open-IM-Server WORKDIR /Open-IM-Server/cmd/api RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\