mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 23:45:42 +03:00
1a2e381043
Since Martin gives us `/health` endpoint we could use it by default in the Dockerfile. I've added extra info to the doc about https://github.com/willfarrell/docker-autoheal but not sure if that's ok. I can remove it.
9 lines
322 B
Docker
9 lines
322 B
Docker
FROM alpine
|
|
ARG TARGETPLATFORM
|
|
|
|
LABEL org.opencontainers.image.description="Blazing fast and lightweight tile server with PostGIS, MBTiles, and PMTiles support"
|
|
COPY target_releases/$TARGETPLATFORM/* /usr/local/bin
|
|
|
|
HEALTHCHECK CMD wget --spider http://localhost:3000/health || exit 1
|
|
ENTRYPOINT ["/usr/local/bin/martin"]
|