From 250bd9ab1f2ce004352ba06f3d2ee6ad9174584e Mon Sep 17 00:00:00 2001 From: tamsin woo Date: Sat, 23 Mar 2024 16:22:30 -0700 Subject: [PATCH] docker entrypoint fix --- 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