Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 886 Bytes

File metadata and controls

25 lines (16 loc) · 886 Bytes

Manage Dependencies

This project uses Poetry (Python) and NPM (Node).

  1. Add/Update dependencies via Docker* e.g.

    Python (Poetry)

    docker exec -it core_cms sh -c "cd /code && poetry ..."

    Node (NPM)

    docker run --rm -v "$(pwd):/code" -w /code node:18 npm ...
  2. Update environment using appropriate command sequence.

Important

* If you manage dependencies locally, then use the same package manager versions as in Dockerfile, so lock files stay consistent.

Tip

You can test a dependency from a local repository clone without committing or publishing it.