Elixir Phoenix app 404 app.css

I am deploying a very simple Phoenix app, I used fly launch with a fairly basic config. The app appears to be working but the stylesheet, app.css, is missing so there is no styling.
I’m using dart-sass, my config.ex looks like:

config :dart_sass,
  version: "1.54.5",
  default: [
    args: ~w(css/app.scss ../priv/static/assets/app.css),
    cd: Path.expand("../assets", __DIR__)
  ]

I can see an app.css in priv/static/assets/ which appears to be my compiled scss.
The docker file contains these lines:

COPY assets assets
# compile assets
RUN mix assets.deploy

I have another Phoenix app running on fly with the same dart-sass configuration and I there is no issue with the stylesheet.
Any ideas as to what might be wrong or how to troubleshoot this?

From General to Questions / Help

Added elixir

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.