Files
Lazytainer/Dockerfile
Morgan Patterson 5befafe343 bump version
2022-04-12 08:26:40 -07:00

12 lines
224 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"]