split COPY --chown in COPY & RUN chmod to increase backward compatibility

This commit is contained in:
Fabian Peter Hammerle
2019-01-04 08:49:08 +01:00
parent b0d1116368
commit e3fb171bd4
+2 -1
View File
@@ -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