This commit is contained in:
2024-09-29 18:47:44 +07:00
parent 5db76a7c6e
commit 366d207dcd
4 changed files with 97 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM golang:1.23.1
WORKDIR /app
COPY go.mod go.sum ./
COPY clublog.go config.go config.yml database.go flexradio.go HTTPServer.go spot.go main.go TCPClient.go TCPServer.go utils.go log.go ./
COPY templates/* .
RUN go build -o bin main.go
ENTRYPOINT ["/app/bin"]