Skip to content

Docker build fails: ee/frontend directory not found in context stage #7

@chenchenchenchencj

Description

@chenchenchenchencj

Problem

When building the Docker image without the ee git submodule initialized (which is the expected case for most users following the Quick Start guide), the build fails at:

COPY --from=context /ctx/ee/frontend/ /ee/frontend/

Error:

failed to compute cache key: "/ctx/ee/frontend": not found

Root Cause

The Dockerfile context stage runs mkdir -p ee which only creates the ee/ directory, but does not create the ee/frontend/ subdirectory that is required by the COPY instruction in the frontend build stage.

Expected Behavior

docker compose build should succeed without the EE submodule initialized, as documented in the Quick Start section of the README.

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