Skip to content

Static resource directory missing on Docker build #121

@Myyyvothrr

Description

@Myyyvothrr

Using the new Dockerfile, the default path to the static files is missing:

Exception in thread "main" io.javalin.util.JavalinException: Static resource directory with path: '/app/uce.portal/uce.web/target/classes/public' does not exist.

We should update this to load the files from the JAR when building the "release" version.

Hotfix if you need to get it working for now: Update the Dockerfile to copy not only the JAR from "target":

COPY --from=builder /app/uce.portal/uce.web/target /app/uce.portal/uce.web/target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions