测试docker

pull/29/head
taoshihan1991 4 years ago
parent d6d7d18f15
commit 53b2103b55

@ -4,7 +4,6 @@ COPY . /app
WORKDIR /app
ENV GOPROXY https://mirrors.aliyun.com/goproxy
VOLUME ["/app/config"]
RUN ["go","build","go-fly.go"]
RUN ["go-fly","install"]
RUN go build go-fly.go
EXPOSE 8081
CMD ["/app/go-fly","server"]
Loading…
Cancel
Save