add entrypoint to ensure TLS file permissions
This commit is contained in:
parent
0866d5e97d
commit
d3728df9ad
@ -14,4 +14,5 @@ USER 10000
|
|||||||
COPY --from=builder --chown=10000:10001 /go/bin/molly-brown /mb
|
COPY --from=builder --chown=10000:10001 /go/bin/molly-brown /mb
|
||||||
COPY ./molly.conf /mb/molly.conf
|
COPY ./molly.conf /mb/molly.conf
|
||||||
|
|
||||||
|
ENTRYPOINT entrypoint.sh
|
||||||
CMD /mb/molly-brown -c /mb/molly.conf
|
CMD /mb/molly-brown -c /mb/molly.conf
|
3
entrypoint.sh
Normal file
3
entrypoint.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
chmod 400 -R /mb/tls
|
Loading…
Reference in New Issue
Block a user