diff --git a/Dockerfile b/Dockerfile index 6ac0223..c400873 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ ENV DEBIAN_FRONTEND newt ADD scripts/start.sh /usr/local/sbin/start RUN chmod 755 /usr/local/sbin/start -VOLUME ["/docker/keys", "/docker/incoming"] +VOLUME ["/docker/keys", "/docker/incoming", "/repository"] EXPOSE 80 EXPOSE 22 diff --git a/configs/nginx-default.conf b/configs/nginx-default.conf index efff12e..05deecd 100644 --- a/configs/nginx-default.conf +++ b/configs/nginx-default.conf @@ -2,7 +2,7 @@ server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; - root /var/www; + root /repository/debian; index index.html index.htm; # Make site accessible from http://localhost/ diff --git a/scripts/reprepro-import.sh b/scripts/reprepro-import.sh index 77db325..9486525 100644 --- a/scripts/reprepro-import.sh +++ b/scripts/reprepro-import.sh @@ -2,7 +2,7 @@ BASEDIR=/var/lib/reprepro INCOMING=/docker/incoming -OUTDIR=/var/www/debian +OUTDIR=/repository/debian # # Make sure we're in the apt/ directory