mirror of
https://github.com/Luzifer/staticmap.git
synced 2024-12-30 01:31:18 +00:00
Persist tile cache in docker image
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0f8a4fc2c8
commit
d279ced5bc
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@ FROM golang:alpine
|
||||||
|
|
||||||
LABEL maintainer "Knut Ahlers <knut@ahlers.me>"
|
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
|
ADD . /go/src/github.com/Luzifer/staticmap
|
||||||
WORKDIR /go/src/github.com/Luzifer/staticmap
|
WORKDIR /go/src/github.com/Luzifer/staticmap
|
||||||
|
|
Loading…
Reference in a new issue