goshorly/Dockerfile

12 lines
165 B
Text
Raw Normal View History

2021-12-07 18:24:48 +01:00
FROM golang:alpine
2021-12-07 15:49:58 +01:00
2021-12-07 18:09:14 +01:00
RUN apk add --no-cache gcc libgo
2021-12-07 15:49:58 +01:00
2021-12-07 18:09:14 +01:00
WORKDIR /go/src/git.ucode.space/goshorly
2021-12-07 16:15:19 +01:00
COPY . .
2021-12-07 15:49:58 +01:00
2021-12-07 16:15:19 +01:00
RUN go get -d -v ./...
2021-12-07 18:09:14 +01:00
RUN go build -o app .
CMD ["./app"]