versatiles-org / versatiles-rs

VersaTiles - A toolbox for converting, checking and serving map tiles in various formats.
https://versatiles.org
MIT License
157 stars 3 forks source link

Include frontend in container image #29

Closed hinricht closed 1 year ago

hinricht commented 1 year ago

The google cloud run howto shows an example on to build an image based on versatiles/versatiles:latest-alpine.

The only step needed which prevents the usage of the versatiles/versatiles:latest-alpine image in this example is the download of the frontend code. Would it be possible to include the

RUN curl -L "https://github.com/versatiles-org/versatiles-frontend/releases/latest/download/frontend.br.tar" > ./frontend.br.tar

step in the versatiles/versatiles:latest-alpine image ? It 's only 5.1Mb big.

MichaelKreil commented 1 year ago

The goal was to provide a general-purpose "VersaTile" Docker container. However, I suspect that running a server is the main use case. So it makes perfect sense to add the standard frontend.