diff --git a/Dockerfile b/Dockerfile index b9897bf..86d2caa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file