consbio / mbtileserver

Basic Go server for mbtiles
ISC License
658 stars 104 forks source link

autogenerate assets when building docker image #125

Closed ssubbotin closed 2 years ago

ssubbotin commented 2 years ago

Remove 50Mb autogenerated assets from the repo; generate assets while building docker image

brendan-ward commented 2 years ago

Thanks @ssubbotin

I think we still need the generated assets for go get github.com/consbio/mbtileserver to work (untested).

However, it looks like the asset build pipeline is compiling in node_modules, which it shouldn't; these are only used to compile and minify the JS / CSS assets that are then included into the built assets file.

Added #126 for this; I think once we resolve that the autogenerated assets file should be very small.

brendan-ward commented 2 years ago

Obviated by #127

Thanks @ssubbotin for bringing the asset build to our attention!