Create Dockerfile

Create Dockerfile
This commit is contained in:
Alterem 2024-05-16 21:49:01 +08:00 committed by GitHub
parent 8161100c9d
commit 7fb8776e1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM golang:latest
WORKDIR $GOPATH/override
ADD . $GOPATH/override
RUN go build .
EXPOSE 8181
ENTRYPOINT ["./override"]