From 0ffbdcc59f9847337be81e477a162fbbadffa2ca Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Tue, 11 May 2021 19:20:27 +0200 Subject: [PATCH] Copy only the files needed to run Netbox Exclude contrib, docs, scripts, etc. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0653100..4c1359c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,7 @@ WORKDIR /opt COPY --from=builder /opt/netbox/venv /opt/netbox/venv ARG NETBOX_PATH -COPY ${NETBOX_PATH} /opt/netbox +COPY ${NETBOX_PATH}/netbox/ /opt/netbox/netbox/ COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py COPY docker/docker-entrypoint.sh /opt/netbox/docker-entrypoint.sh