# Build Nodered codebase into a container

**URL:** <https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594>\
**Category:** General\
**Created:** [11 August 2021 05:54 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594 "2021-08-11T05:54:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![server-master](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/server-master/32/46375_2.png) [@server-master](https://discourse.nodered.org/u/server-master)\
**Post date:** [11 August 2021 05:54 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594/1 "2021-08-11T05:54:01Z")

</div>

Hi guys, our team has a nodered GIT repo and i'm trying to dockerize it to push between environments but im just not able to make progress. When i followed the steps on the Nodered documentation([Running under Docker : Node-RED](https://nodered.org/docs/getting-started/docker#dockerfile-which-copies-in-local-resources)) i end up with a blank flow. I really need help with this. can someone please guide me or share a dockerfile and process that you folow.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [11 August 2021 07:34 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594/2 "2021-08-11T07:34:01Z")

</div>

You need to add a lot more detail about what you did before we can help. Just saying you followed the documentation doesn't help.

---

<div class="post-metadata">

**Author:** ![server-master](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/server-master/32/46375_2.png) [@server-master](https://discourse.nodered.org/u/server-master)\
**Post date:** [11 August 2021 07:52 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594/3 "2021-08-11T07:52:50Z")

</div>

Hi Hardillb. what are the details required? I can provide any details that are requested

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [11 August 2021 08:03 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594/4 "2021-08-11T08:03:47Z")

</div>

@server-master this blog post describes how you can create a container from a Node-RED project. In that instance it's a container for the Balena service, but you can ignore that part.

> **[Deploying Node-RED applications to devices using Balena · knolleary](https://knolleary.net/2018/09/27/deploying-node-red-applications-to-devices-using-balena/)**
>
> My last couple of posts have focused on creating a managed Node-RED deployment pipeline to IBM Cloud. There’s still more to do in that series, but for this one, I’m taking a bit of a detour to the ...

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [11 August 2021 08:18 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594/5 "2021-08-11T08:18:18Z")

</div>

Things like the exact steps you did (not just what's in the instructions), include the filenames of the parts you are trying to include, the Dockerfile you built, what you've done to debug this so far, the log output from starting the container.

---

<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:** [10 October 2021 08:19 UTC](https://discourse.nodered.org/t/build-nodered-codebase-into-a-container/49594/6 "2021-10-10T08:19:07Z")

</div>

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