Files
matchbox/Dockerfile
Dalton Hubble d40d895ab5 Update Go version and alpine base image
* Update Go from v1.15.3 to v1.15.8
* Update alpine base from v3.12 to v3.13
2021-02-07 22:29:03 -08:00

10 lines
246 B
Docker

FROM docker.io/golang:1.15.8 AS builder
COPY . src
RUN cd src && make build
FROM docker.io/alpine:3.13
LABEL maintainer="Dalton Hubble <dghubble@gmail.com>"
COPY --from=builder /go/src/bin/matchbox /matchbox
EXPOSE 8080
ENTRYPOINT ["/matchbox"]