Revert "Revert "add entrypoint to ensure TLS file permissions""

This reverts commit e4267e2902.
This commit is contained in:
tamsin woo 2024-03-23 23:21:25 -07:00
parent e4267e2902
commit eec41acc31
2 changed files with 4 additions and 0 deletions

View File

@ -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

3
entrypoint.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
chmod 400 -R /mb/tls