Skip to content

Commit

Permalink
netbox: fix permissions of /opt/netbox/netbox/static (#592)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Nov 11, 2024
1 parent a489e85 commit 2b9063a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netbox/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ COPY files/launch.sh /opt/netbox/launch.sh

RUN /opt/netbox/venv/bin/python3 -m pip --no-cache-dir install -U 'pip==24.3.1' \
&& /opt/netbox/venv/bin/python3 -m pip --no-cache-dir install -r /requirements.txt \
&& chmod +x /opt/netbox/launch.sh
&& chmod +x /opt/netbox/launch.sh \
&& chown -R unit: /opt/netbox/netbox/static

CMD [ "/opt/netbox/docker-entrypoint.sh", "/opt/netbox/launch.sh" ]

Expand Down

0 comments on commit 2b9063a

Please sign in to comment.