wesher/Dockerfile

10 lines
167 B
Docker
Raw Normal View History

FROM golang:1.14-alpine
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o wesher .
FROM alpine:latest
COPY --from=0 /app/wesher /wesher