Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] assetMap.json silently gets ignored on docker #74

Open
izelnakri opened this issue Feb 11, 2018 · 1 comment
Open

[BUG] assetMap.json silently gets ignored on docker #74

izelnakri opened this issue Feb 11, 2018 · 1 comment

Comments

@izelnakri
Copy link

izelnakri commented Feb 11, 2018

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.

@kiwiupover
Copy link
Member

@izelnakri have you found a resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants