aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: e8f03aef7b3b0dc20f448e41449b81224fab750c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM golang:latest as build
WORKDIR /build
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN make cashierd

FROM alpine:latest
WORKDIR /
COPY --from=build /build/cashierd /
CMD ["/cashierd"]