Fix data path

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-03-11 21:16:11 +01:00
parent ce47b0aad8
commit ec09c0fc5a
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ RUN set -ex \
COPY docker-entrypoint.sh /
VOLUME /md-app
WORKDIR /md-app
VOLUME /data
WORKDIR /data
EXPOSE 80

View File

@ -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