dockerfile

This commit is contained in:
wangchuxiao 2023-06-16 13:22:26 +08:00
parent 94724ca443
commit 4e84153a5a

View File

@ -1,10 +1,5 @@
FROM golang as build FROM ubuntu
# go mod Installation source, container environment variable addition will override the default variable value
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
COPY ./Open-IM-Server /
WORKDIR /Open-IM-Server/cmd/api WORKDIR /Open-IM-Server/cmd/api
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\ RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\