FROM golang:1.21-alpine ENV CGO_ENABLED=0 ENV GOPROXY=https://goproxy.cn,direct # 安装必要的工具 RUN apk add --no-cache git tzdata bash curl WORKDIR /app/server EXPOSE 8077 CMD ["go", "run", "cmd/server/main.go"]