1
0
Fork 0
mirror of https://github.com/Luzifer/staticmap.git synced 2024-12-20 12:51:18 +00:00

Persist tile cache in docker image

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-06-27 23:51:08 +02:00
parent 0f8a4fc2c8
commit d279ced5bc
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -2,7 +2,8 @@ FROM golang:alpine
LABEL maintainer "Knut Ahlers <knut@ahlers.me>"
ENV CACHE_DIR /data
ENV CACHE_DIR /data/map-cache
ENV XDG_CACHE_HOME /data/tile-cache
ADD . /go/src/github.com/Luzifer/staticmap
WORKDIR /go/src/github.com/Luzifer/staticmap