Don't run as root in container
This commit is contained in:
parent
7918aa5fd2
commit
23474bc89a
|
@ -8,4 +8,5 @@ RUN nim c -d:release --passL:-static norbert.nim
|
|||
FROM scratch
|
||||
|
||||
COPY --from=builder /build/norbert /norbert
|
||||
USER 65534
|
||||
ENTRYPOINT ["/norbert"]
|
|
@ -1,4 +1,4 @@
|
|||
import asynchttpserver, asyncdispatch, json, strtabs, base64, strutils, strformat, options, tables
|
||||
import asynchttpserver, asyncdispatch, json, strtabs, base64, strutils, strformat, options
|
||||
import ../lib/dns, state
|
||||
|
||||
const headers = {"Content-type": "text/plain; charset=utf-8"}
|
||||
|
|
Loading…
Reference in New Issue