From 5ee2197f18cc7503f58072fe0f389e49909c4e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 8 Jan 2024 22:46:08 +0100 Subject: [PATCH 1/2] use /docs instead of /data --- Dockerfile | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0933772..8bac3cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,6 @@ RUN set -ex; \ COPY src/usr /usr +WORKDIR /docs ENTRYPOINT ["autodoc"] CMD ["-bw"] diff --git a/Makefile b/Makefile index 209d2e8..de98246 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ image_tag = ldericher/autodoc docker_build = docker build docker_run = docker run --rm -it -examples_flags = -v "$(shell pwd)/examples:/data" -u "$(shell id -u):$(shell id -g)" +examples_flags = -v "$(shell pwd)/examples:/docs" -u "$(shell id -u):$(shell id -g)" .PHONY: default default: From ea086a6a3a5a5b1a983464286e7a722543085aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 8 Jan 2024 22:48:12 +0100 Subject: [PATCH 2/2] update documentation --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf32205..f5f8f0e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ In general, any file-sharing solution -- preferably on top of `docker-compose` - ## Quick Start Guide using Docker -The `autodoc` image [available on Docker Hub](https://hub.docker.com/r/ldericher/autodoc) is based on [pandocker](https://hub.docker.com/r/ldericher/pandocker) providing Ubuntu's TeXlive `LaTeX` and `pandoc` in a simple box. +The `autodoc` image [available on Docker Hub](https://hub.docker.com/r/ldericher/autodoc) is based on [pandoc/extra](https://hub.docker.com/r/pandoc/extra) providing TeXlive `LaTeX` and `pandoc` in a container. 01. Install [Docker CE](https://docs.docker.com/install/) @@ -18,7 +18,7 @@ The `autodoc` image [available on Docker Hub](https://hub.docker.com/r/ldericher ```bash docker run --rm -it \ - --volume "${PWD}":/docs \ + --volume "${PWD}:/docs" \ --user "$(id -u):$(id -g)" \ ldericher/autodoc ``` @@ -58,7 +58,6 @@ services: - documents:/opt/autodoc autodoc: - restart: always image: ldericher/autodoc user: "UID:GID" volumes: