Merge pull request #276 from weisdd/bugfix/dockerfile-media-permissions

Dockerfile: Fixed file permissions for media
This commit is contained in:
Tobias Genannt 2020-05-06 18:40:00 +02:00 committed by GitHub
commit 5cb8e97e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" ]