Commit 7a29270c authored by Felix Delattre's avatar Felix Delattre
Browse files

Moved to t-rex vector tile server

parent f87d90b2
......@@ -21,22 +21,21 @@ ARG VERSION="latest"
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
ca-certificates \
git \
golang \
libssl1.1 \
gdal-bin \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/CrunchyData/pg_tileserv.git /app
COPY ./t-rex_0.14.2-1.bullseye_amd64.deb t-rex_0.14.2-1.bullseye_amd64.deb
RUN dpkg -i ./t-rex_0.14.2-1.bullseye_amd64.deb
WORKDIR /app
WORKDIR /var/data/in
RUN go build -v -ldflags "-s -w -X main.programVersion=${VERSION}"
VOLUME ["/var/data/in"]
VOLUME ["/var/data/out"]
VOLUME ["/config"]
USER www-data
EXPOSE 6767
USER 1001
EXPOSE 7800
ENTRYPOINT ["/app/pg_tileserv"]
ENTRYPOINT ["/usr/bin/t_rex"]
CMD []
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment