From 1c65f7af10aeb392a5f9012c6dd66e301700c80b Mon Sep 17 00:00:00 2001 From: ibeljakov Date: Sat, 18 Apr 2020 17:08:42 +0300 Subject: [PATCH] Dockerfile: Fixed file permissions for media --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7764248..2c83172 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,7 +75,7 @@ WORKDIR /opt/netbox/netbox # container startup. # Must set permissions for '/opt/netbox/netbox/media' directory # to g+w so that pictures can be uploaded to netbox. -RUN mkdir static && chmod g+w static media +RUN mkdir static && chmod -R g+w static media ENTRYPOINT [ "/opt/netbox/docker-entrypoint.sh" ]