From 4cc30d60760705dc99ee32abd23ce7940254b535 Mon Sep 17 00:00:00 2001 From: tamsin woo Date: Sat, 23 Mar 2024 23:21:29 -0700 Subject: [PATCH] Revert "Revert "docker entrypoint fix"" This reverts commit 555ee679908f24e66288333a254ec751c05f4ffe. --- Dockerfile | 6 +++--- entrypoint.sh | 0 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 entrypoint.sh diff --git a/Dockerfile b/Dockerfile index 813fd26..1b8c7e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ RUN addgroup -S --gid 10001 mb && \ USER 10000 COPY --from=builder --chown=10000:10001 /go/bin/molly-brown /mb -COPY ./molly.conf /mb/molly.conf -COPY ./entrypoint.sh /mb/entrypoint.sh +COPY --chown=10000:10001 ./molly.conf /mb/molly.conf +COPY --chown=10000:10001 ./entrypoint.sh /mb/entrypoint.sh -ENTRYPOINT entrypoint.sh +ENTRYPOINT /mb/entrypoint.sh CMD /mb/molly-brown -c /mb/molly.conf \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh old mode 100644 new mode 100755