Skip to content

MLM cannot find assets dir #8

Description

@FarawayMagnet

environment: docker container pulled from ghcr.io/campingavocado/mlm:main, running on unraid 7.3.2

upon initial start of container, the page looked very barebones, being just black text on white background. found the following warning in container logs:

WARN mlm::web: Static assets directory does not exist: /app/server/assets
      at server/src/web/mod.rs:72

i believe the fix is a single line added to the dockerfile:

ENV MLM_ASSETS_DIR="/server/assets"

adding a runtime environment variable to accomplish the above solves the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions