You can add a package to package.json via your favorite package manager and the next time your Docker container gets built from scratch, it will install that package too.
If you need to add a package to a running Docker container for immediate use, follow these steps:
- Access the running container:
docker exec -it pyspur_dev-frontend-1 sh- Install the package:
npm install <package_name>- Restart the container to apply changes:
docker restart pyspur_dev-frontend-1