fd6a2ac52b72914e514cf9c29d2bbbbf770b064b.svn-base 211 B

1234567
  1. FROM golang:latest
  2. WORKDIR /root/micro-go-course/section10/user
  3. COPY / /root/micro-go-course/section10/user
  4. RUN go env -w GOPROXY=https://goproxy.cn,direct
  5. RUN go build -o user
  6. EXPOSE 10086
  7. ENTRYPOINT ["./user"]