Moxitech-Websocket-Do/server/Dockerfile
2024-09-01 02:36:40 +07:00

10 lines
183 B
Docker

FROM golang:1.22.5-alpine3.20
LABEL author="moxitech"
WORKDIR /var/note-server
COPY App /var/note-server
RUN go get ./...;
RUN go build -o main cmd/main.go
EXPOSE 8099
CMD "./main"