[message pusher] - add Dockerfile - 3

This commit is contained in:
zeaslity
2024-04-23 16:06:35 +08:00
parent 7e15a7a693
commit 1998e032de

View File

@@ -1,11 +1,13 @@
FROM golang:1.22-alpine3.19 FROM golang:1.22.1-bullseye
MAINTAINER SuperWdd MAINTAINER SuperWdd
WORKDIR /app WORKDIR /app
COPY ./build/message_pusher ./message_pusher COPY ./build/message_pusher /app/message_pusher
EXPOSE 8080 EXPOSE 8080
CMD ["chmod", "+x", "/app/message_pusher"]
ENTRYPOINT ["/app/message_pusher"] ENTRYPOINT ["/app/message_pusher"]