From 2d6388b48912bc5bf736374e0f993388b27c6c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ma=CC=88der?= Date: Fri, 16 Feb 2018 10:49:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Be=20More=20Explicit=20On=20Path?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 4 ++++ Dockerfile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ce32f24 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +.github +.travis.yml +build* +*.env diff --git a/Dockerfile b/Dockerfile index e134bc3..7d657ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,8 +36,8 @@ COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py COPY docker/gunicorn_config.py /opt/netbox/ COPY docker/nginx.conf /etc/netbox-nginx/nginx.conf COPY docker/docker-entrypoint.sh docker-entrypoint.sh -COPY startup_scripts/ ./ -COPY initializers/ ./ +COPY startup_scripts/ /opt/netbox/startup_scripts/ +COPY initializers/ /opt/netbox/initializers/ WORKDIR /opt/netbox/netbox