Skip to content

Instantly share code, notes, and snippets.

@richturner
Last active December 5, 2018 08:14
Show Gist options
  • Save richturner/25a63f250a4d1f2b1d9883a8e64a0705 to your computer and use it in GitHub Desktop.
Save richturner/25a63f250a4d1f2b1d9883a8e64a0705 to your computer and use it in GitHub Desktop.
A docker file for creating an image of tileserver-gl that uses the public_url functionality
FROM klokantech/tileserver-gl
RUN wget -O /tmp/patch.zip https://github.com/koumoul-dev/tileserver-gl/archive/2.10.2.zip
RUN unzip -q -o /tmp/patch.zip -d /tmp
RUN rm /tmp/patch.zip
RUN cp -r /tmp/tileserver-gl-2.10.2/* /usr/src/app
RUN rm -r /tmp/tileserver-gl-2.10.2
RUN cd /usr/src/app && npm install --production
@richturner
Copy link
Author

This is hopefully a stop gap until the PR described here is integrated into the main repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment