add entrypoint to ensure TLS file permissions

This commit is contained in:
tamsin woo 2024-03-23 16:16:12 -07:00
parent 0866d5e97d
commit d3728df9ad
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