Skip to content

Commit

Permalink
Fix json patching
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Jun 14, 2024
1 parent 7e47cb9 commit f28c092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM docker.io/netboxcommunity/netbox:${NETBOX_VERSION} AS base

# Patch NGINX Unit config
RUN apt-get update || true && apt-get install -yq jq
RUN cat /etc/unit/nginx-unit.json | jq '.settings.http.max_body_size = 52428800' > /etc/unit/nginx-unit.json
RUN cat /etc/unit/nginx-unit.json | jq -r '.settings.http.max_body_size = 52428800' > /etc/unit/nginx-unit.json

COPY plugin_requirements.txt /opt/netbox/
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /opt/netbox/plugin_requirements.txt
Expand Down

0 comments on commit f28c092

Please sign in to comment.