mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-21 23:43:28 +01:00
Merge pull request #276 from weisdd/bugfix/dockerfile-media-permissions
Dockerfile: Fixed file permissions for media
This commit is contained in:
commit
5cb8e97e65
@ -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…
Reference in New Issue
Block a user