From 9818cc08f44f5953cb2f242ce91505ae533c379c Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 16 Jun 2023 11:45:33 +0800 Subject: [PATCH] dockerfile --- cmd/api/deploy.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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\