mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-02 05:03:12 +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" ]
|
|
|