Skip to content

Can't use my custom modules out of the box (branch 17.0) #160

@Damien-VS

Description

@Damien-VS

context

encountered in 17.0
not tested on other branches

bug description

When building the hosted docker image

docker build -f "Dockerfile" -t dockerdoo:latest "."

The custom folder copy fails to do anything, executing with this command

#20 [production  8/13] COPY --chown=odoo:odoo ./custom /mnt/extra-addons

This is because the custom/* is in the .dockerignore file

expected

  • I place a module in the ./custom directory
  • I build & run the docker image through docker compose up -d
  • the module is accessible in my odoo instance

fix proposal

  • remove custom/* from .dockerignore
  • explain why this behaviour is wanted in the README.md with a workaround / correct way to achieve the expected behaviour

🙏 Thanks

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