From 4f84aab1091e22036e40894a79bdf3dc1a04914e Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Tue, 15 Nov 2022 20:40:09 +0100 Subject: [PATCH] fix permissions --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7572c9c..650ff8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ADD config /etc/gitea ADD data /var/lib/gitea ADD localtime /etc/localtime ADD timezone /etc/timezone -ADD run.sh /usr/local/bin/ +COPY --chown=root:root run.sh /usr/local/bin/ RUN chmod 755 /usr/local/bin/run.sh