diff --git a/Dockerfile b/Dockerfile index c32a0ed..cdd71fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ RUN set -ex \ COPY docker-entrypoint.sh / -VOLUME /md-app -WORKDIR /md-app +VOLUME /data +WORKDIR /data EXPOSE 80 diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 64f942a..8b28e37 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,7 +2,7 @@ set -euo pipefail if [ "${1:-}" = 'serve' ]; then - cp /usr/src/mdwiki/mdwiki.html /md-app/index.html + cp /usr/src/mdwiki/mdwiki.html /data/index.html exec python -m http.server 80 fi