diff --git a/Dockerfile b/Dockerfile index c51c460..643e328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,6 +71,7 @@ RUN true \ && pip install \ cairocffi==1.1.0 \ django==2.2.27 \ + django-tagging==0.4.3 \ django-statsd-mozilla \ fadvise \ gunicorn==20.1.0 \ @@ -161,11 +162,12 @@ LABEL maintainer="Denys Zhdanov " ENV STATSD_INTERFACE udp +# copy config BEFORE build +COPY conf / + # copy from build image COPY --from=build /opt /opt -COPY conf / - # defaults EXPOSE 80 2003-2004 2013-2014 2023-2024 8080 8125 8125/udp 8126 VOLUME ["/opt/graphite/conf", "/opt/graphite/storage", "/opt/graphite/webapp/graphite/functions/custom", "/etc/nginx", "/opt/statsd/config", "/etc/logrotate.d", "/var/log", "/var/lib/redis"] diff --git a/build.sh b/build.sh index e771687..2f4e853 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERSION=1.1.10-1 +VERSION=1.1.10-3 docker build . \ --build-arg python_extra_flags="--single-version-externally-managed --root=/" \ --no-cache --tag graphiteapp/graphite-statsd:$VERSION --progress tty \ No newline at end of file