chore: add Dockerfile
This commit is contained in:
parent
ea116f1bb0
commit
5e7576f691
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"]
|
Loading…
x
Reference in New Issue
Block a user