Add HTTP api
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user