Create Dockerfile
This commit is contained in:
parent
ddd87724ad
commit
b202c52797
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FROM golang:1.25.7
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN go build -tags netgo -ldflags "-s -w" -o app
|
||||
|
||||
CMD ["./app"]
|
||||
Loading…
Add table
Reference in a new issue