[openstreetmap/openstreetmap-website] CSS Error using docker (Issue #3984)
Andy Allan
notifications at github.com
Thu Mar 23 11:30:57 UTC 2023
> The frontend is complaining because there is a `link ../common.scss` inside `app/assets/stylesheets/ltr/common.scss` as you can see in my ticket.
Right, and that's deliberate. It's supposed to be a symlink. So the question is why is the symlink not working properly, because the sass compiler is seeing a file with the contents "link ../common.scss" instead of the contents of the target file.
We run the whole Docker setup in CI, and it doesn't have the same problem. So now we need to figure out what's different about your environment that makes the symlink not work for you.
I can see your docker command doesn't mount the current folder as `/app` within the container. That's the biggest difference that I can see with the docker-compose.yml section that you are replicating with that command line. Does this mean that you've changed the Dockerfile to add the code into the container?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3984#issuecomment-1481025613
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3984/1481025613 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230323/ce20285d/attachment-0001.htm>
More information about the rails-dev
mailing list