Archived
2
0
This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
kerma/Dockerfile
2023-03-02 15:28:43 +01:00

10 lines
211 B
Docker

FROM docker.io/golang:1.19 as builder
WORKDIR /usr/local/src
COPY . .
RUN CGO_ENABLED=0 go build -o kermago
FROM scratch
COPY --from=builder /usr/local/src/kermago /kermago
EXPOSE 18018
ENTRYPOINT ["/kermago"]