feat: add goreleaser docker image publish

This commit is contained in:
engigu
2024-01-27 22:11:27 +08:00
parent b81de54890
commit 86ffa87dcc
3 changed files with 71 additions and 25 deletions
+6 -6
View File
@@ -1,9 +1,9 @@
FROM golang:latest
FROM ubuntu:latest
COPY ./ /app/
ENV GOPROXY https://goproxy.cn,direct
WORKDIR /app
COPY . /app
RUN go build .
EXPOSE 8000
ENTRYPOINT ["./Message-Nest"]
CMD ["/app/Message-Nest"]