Files
Lazytainer/Dockerfile
Morgan Patterson 1256eea88d Multiplatform Image
2022-09-01 00:55:06 -07:00

13 lines
225 B
Docker

FROM golang:alpine3.15
WORKDIR /root/
COPY ./go.mod ./go.sum ./
RUN go mod download
COPY ./lazytainer.go .
RUN go build lazytainer.go
FROM alpine:latest
WORKDIR /root/
COPY --from=0 /root/lazytainer ./
CMD ["./lazytainer"]