Skip to content

Build failed when trying docker-compose up #140

@awkto

Description

@awkto

Followed the docker instructions on the main page but getting an error right away. I've put in the env var for my google gemini api key.

$ docker-compose up
Creating network "deepwiki-open_default" with the default driver
Building deepwiki
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  1.221MB
Error response from daemon: dockerfile parse error on line 13: unknown flag: exclude
ERROR: Service 'deepwiki' failed to build : Build failed

OS : Ubuntu 24.10
Docker version 26.1.3, build 26.1.3-0ubuntu1.1
docker-compose version 1.29.2, build unknown


Line 13 is this guy from the Dockerfile

13 COPY --exclude=./api . .

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