aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2018-07-05 18:31:34 +0200
committerGitHub <noreply@github.com>2018-07-05 18:31:34 +0200
commitedb4a4d9c9fbc01d67ee8d095fe26648714e2285 (patch)
tree494c4103664f6d3d89d88c7e4d23fd7601530f3d /Dockerfile
parent5dc4b8ab69c9dbe61312734f185066f018204c7b (diff)
parent186d9eaa5737a7631df89b40be75c55e5b976e48 (diff)
downloadShaarli-edb4a4d9c9fbc01d67ee8d095fe26648714e2285.tar.gz
Shaarli-edb4a4d9c9fbc01d67ee8d095fe26648714e2285.tar.zst
Shaarli-edb4a4d9c9fbc01d67ee8d095fe26648714e2285.zip
Merge pull request #1173 from virtualtam/docker/cache-volume
Docker: expose a volume for the thumbnail cache
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8e0a5621..6261e81b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,6 +62,7 @@ RUN chown -R nginx:nginx . \
62 && ln -sf /dev/stdout /var/log/nginx/shaarli.access.log \ 62 && ln -sf /dev/stdout /var/log/nginx/shaarli.access.log \
63 && ln -sf /dev/stderr /var/log/nginx/shaarli.error.log 63 && ln -sf /dev/stderr /var/log/nginx/shaarli.error.log
64 64
65VOLUME /var/www/shaarli/cache
65VOLUME /var/www/shaarli/data 66VOLUME /var/www/shaarli/data
66 67
67EXPOSE 80 68EXPOSE 80