mirror of
https://github.com/rramiachraf/dumb.git
synced 2025-04-04 21:37:38 +03:00
chore: add Dockerfile
This commit is contained in:
parent
ea116f1bb0
commit
5e7576f691
1 changed files with 13 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue