diff --git a/Dockerfile b/Dockerfile index 770d52a..c9a5d68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,5 @@ USER 10000 COPY --from=builder --chown=10000:10001 /go/bin/molly-brown /mb COPY ./molly.conf /mb/molly.conf +ENTRYPOINT entrypoint.sh CMD /mb/molly-brown -c /mb/molly.conf \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..e057b14 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +chmod 400 -R /mb/tls