Skip to content

Commit 1c65f7a

Browse files
author
ibeljakov
committed
Dockerfile: Fixed file permissions for media
1 parent aa9f01a commit 1c65f7a

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)