simpleauth/build/Containerfile

13 lines
238 B
Plaintext
Raw Normal View History

2022-03-05 15:53:47 -07:00
FROM golang:1-alpine AS builder
2021-08-15 11:03:25 -06:00
WORKDIR /go/src/app
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
2022-03-05 15:53:47 -07:00
FROM alpine
COPY --from=builder /go/bin/simpleauth /bin
COPY --from=builder /go/src/app/static /static
CMD ["/bin/simpleauth"]