norbert/Dockerfile

12 lines
208 B
Docker
Raw Permalink Normal View History

2022-02-06 18:34:54 +01:00
FROM nimlang/nim:alpine as builder
COPY . /build
WORKDIR /build
RUN nim c -d:release --passL:-static norbert.nim
FROM scratch
COPY --from=builder /build/norbert /norbert
2022-02-06 18:44:11 +01:00
USER 65534
2022-02-06 18:34:54 +01:00
ENTRYPOINT ["/norbert"]