Add HTTP api

This commit is contained in:
2022-02-06 18:34:54 +01:00
parent 29f039872a
commit 7918aa5fd2
9 changed files with 252 additions and 46 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
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
ENTRYPOINT ["/norbert"]