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

10 lines
211 B
Docker
Raw Permalink Normal View History

2023-03-02 14:28:43 +00:00
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"]