# Install additional node to docker

**URL:** <https://discourse.nodered.org/t/install-additional-node-to-docker/66015>\
**Category:** General\
**Tags:** docker\
**Created:** [4 August 2022 12:11 UTC](https://discourse.nodered.org/t/install-additional-node-to-docker/66015 "2022-08-04T12:11:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luis1](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@luis1](https://discourse.nodered.org/u/luis1)\
**Post date:** [4 August 2022 12:11 UTC](https://discourse.nodered.org/t/install-additional-node-to-docker/66015/1 "2022-08-04T12:11:18Z")

</div>

Hi,

I'm running node-red with docker-compose and try to preinstall a node to my environment.

I followed the [example from the documentation](https://nodered.org/docs/getting-started/docker#dockerfile-which-copies-in-local-resources) and added

WORKDIR /usr/src/node-red  
RUN npm install node-red-node-smooth

at the end of the Dockerfile.

But the smooth node does not show up in the node palette, after I create the container.

When I install the node manually with

docker exec -it nodered /bin/bash  
cd /data  
npm install node-red-node-smooth

and restart nodered, anything works like expected and smooth shows up in the palette.

Does anyone have an idea, what I should change to make the preinstalling work?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 October 2022 12:11 UTC](https://discourse.nodered.org/t/install-additional-node-to-docker/66015/2 "2022-10-03T12:11:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
