fastboot-app-server icon indicating copy to clipboard operation
fastboot-app-server copied to clipboard

[BUG] assetMap.json silently gets ignored on docker

Open izelnakri opened this issue 7 years ago • 1 comments

This is a weird bug I couldnt track it down completely yet but Im sure related to the fastboot-app-server.

When I build my fastboot image and run it with docker my fastboot server makes calls to assets/application.css, assets/vendor.js, assets/application.js.

This is very odd because the minified files that are built are in the container. I can request and get the response in the same container when I make a request to: http://localhost/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css it does return the content!

When I run the server locally I do get the correct index.html and hashed/minified asset references. In my docker environment some confusing/silent magic happens, the server cannot pick up the right index.html

NOTE: I use fastboot-express-middleware thus server is an express server.

izelnakri avatar Feb 11 '18 23:02 izelnakri

@izelnakri have you found a resolution?

kiwiupover avatar Apr 12 '18 21:04 kiwiupover