From 1430f4910ed735354fab20fd3a607242b6891c8c Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Fri, 17 Mar 2023 14:02:52 +0700 Subject: [PATCH] Correctly set permission on `/app` path and `entrypoint` --- .github/workflows/Dockerfile.ci.alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Dockerfile.ci.alpine b/.github/workflows/Dockerfile.ci.alpine index 504a2e4..ef610a6 100644 --- a/.github/workflows/Dockerfile.ci.alpine +++ b/.github/workflows/Dockerfile.ci.alpine @@ -98,8 +98,8 @@ RUN apk add --no-cache tini ca-certificates bash tzdata && \ "$USER" && \ mkdir -p /data && \ chown $USER:$USER /data -COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /lldap /app -COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /docker-entrypoint.sh /docker-entrypoint.sh +COPY --from=lldap --chown=$USER:$USER /lldap /app +COPY --from=lldap --chown=$USER:$USER /docker-entrypoint.sh /docker-entrypoint.sh VOLUME ["/data"] WORKDIR /app ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]