Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jakubjv's avatar

How add new packages properly into project conteinarized in Docker?

Hello everyone,

I have a question about how to properly add a new package to a project. Let’s say I have a containerized Vue app. Should I install, for example, the headlessui package on my local machine and then run docker-compose build, or should I install the package inside the Docker container shell? What is the best practice?

0 likes
0 replies

Please or to participate in this conversation.