chore: add Dockerfile
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM golang:1.19.4-alpine3.17
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN go build
|
||||
|
||||
EXPOSE 5555/tcp
|
||||
|
||||
CMD ["/code/dumb"]
|
Reference in New Issue
Block a user