Skip to content

Commit 5cb8e97

Browse files
authored
Merge pull request #276 from weisdd/bugfix/dockerfile-media-permissions
Dockerfile: Fixed file permissions for media
2 parents 98e131f + 1c65f7a commit 5cb8e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ WORKDIR /opt/netbox/netbox
7575
# container startup.
7676
# Must set permissions for '/opt/netbox/netbox/media' directory
7777
# to g+w so that pictures can be uploaded to netbox.
78-
RUN mkdir static && chmod g+w static media
78+
RUN mkdir static && chmod -R g+w static media
7979

8080
ENTRYPOINT [ "/opt/netbox/docker-entrypoint.sh" ]
8181

0 commit comments

Comments
 (0)