mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-29 03:35:09 +01:00
9 lines
165 B
Docker
9 lines
165 B
Docker
FROM golang:1.17
|
|
COPY go.mod ./
|
|
COPY go.sum ./
|
|
RUN unset GOPATH; go mod download
|
|
COPY . ./
|
|
RUN unset GOPATH; go build -o /server server/server.go
|
|
CMD [ "/server" ]
|
|
|