commit: c298e0165c29b30380466910bb328964a7264c4c
parent d0f7a5c4f53f631703cc108b95c52a934c122873
Author: Cat pony Black <pony@bahnhof.cz>
Date: Sat, 5 Aug 2023 13:10:35 +0200
Fix config ownership in dockerfile to pass restriction test
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -49,7 +49,7 @@ USER pleroma
COPY --from=build --chown=pleroma:0 /release ${HOME}
-COPY ./config/docker.exs /etc/pleroma/config.exs
+COPY --chown=pleroma --chmod=640 ./config/docker.exs /etc/pleroma/config.exs
COPY ./docker-entrypoint.sh ${HOME}
EXPOSE 4000
diff --git a/changelog.d/dockerfile-config-perms.fix b/changelog.d/dockerfile-config-perms.fix
@@ -0,0 +1 @@
+- Fix config ownership in dockerfile to pass restriction test