Dockerfile: Fixed file permissions for media
This commit is contained in:
parent
aa9f01a778
commit
1c65f7af10
1 changed files with 1 additions and 1 deletions
|
@ -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" ]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue