Dockerfile: Fixed file permissions for media

This commit is contained in:
ibeljakov 2020-04-18 17:08:42 +03:00
parent aa9f01a778
commit 1c65f7af10
1 changed files with 1 additions and 1 deletions

View File

@ -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" ]