From e3fb171bd4e315400257ee6ae0b29f0d9afa6385 Mon Sep 17 00:00:00 2001 From: Fabian Peter Hammerle Date: Fri, 4 Jan 2019 08:49:08 +0100 Subject: [PATCH] split COPY --chown in COPY & RUN chmod to increase backward compatibility --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b0b76dc..2e71e50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ RUN adduser -S onion RUN mkdir -m u=rwx,g=,o= /onion-service && chown onion /onion-service VOLUME /onion-service -COPY --chown=onion:nobody torrc.template / +COPY torrc.template / +RUN chmod a+r /torrc.template ENV VERSION 3 ENV VIRTUAL_PORT 80