diff options
| author | Linus Nordberg <linus@nordberg.se> | 2015-12-03 13:53:13 +0100 | 
|---|---|---|
| committer | Linus Nordberg <linus@nordberg.se> | 2015-12-03 13:53:13 +0100 | 
| commit | 716bddd71c4a1b27d05365a5da0b75e9b2ba9c07 (patch) | |
| tree | 6cecaafcbffedd05781e2d9f24365bee78620c75 | |
| parent | 2b139551b0c197a74f4348d3c1dcc54968b630f6 (diff) | |
Adjust volume to export.
| -rw-r--r-- | packaging/docker/Dockerfile | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/packaging/docker/Dockerfile b/packaging/docker/Dockerfile index 39222dd..3a0c256 100644 --- a/packaging/docker/Dockerfile +++ b/packaging/docker/Dockerfile @@ -3,9 +3,9 @@  # Generates static HTML from an ikiwiki git repo.  # -# Run as a "data volume container" (`docker run --name radsecproxy-web -# IMAGE') used by another container running a web server (`docker run -# -d --volumes-from radsecproxy-web --name my_web +# Run as a "data volume container" (`docker create --name +# radsecproxy-web IMAGE') used by another container running a web +# server (`docker run -d --volumes-from radsecproxy-web --name my_web  # web_software_ndn). Note that the radsecproxy-web container will show  # in `docker ps -a' with status `Exited (0)'. It still exports  # /var/www/radsecproxy to the my_web container. @@ -20,6 +20,6 @@ RUN apt-get -y -q install ikiwiki make  RUN [ -d /usr/local/src/radsecproxy-web ] || git clone https://git.nordu.net/radsecproxy-web.git /usr/local/src/radsecproxy-web  RUN cd /usr/local/src/radsecproxy-web && git pull -VOLUME /var/www/radsecproxy +VOLUME /var/www/html/radsecproxy  ADD mkhtml.sh /  ENTRYPOINT ["/mkhtml.sh"] | 
