---
id: 3054
title: Development of node-red nodes w. docker has one big issue
slug: development-of-node-red-nodes-w-docker-has-one-big-issue
date: '2020-05-19T05:30:31Z'
modified: '2020-05-19T05:40:26Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Docker
  - Gulp
  - Node-RED
  - undocumentation
tags: []
excerpt: null
canonicalPath: /posts/development-of-node-red-nodes-w-docker-has-one-big-issue
featuredImage: null
commentCount: 0
wordCount: 106
readingTimeMinutes: 1
hasMedia: false
hasVideos: false
url: >-
  https://forwardthinking.pemo.me/posts/development-of-node-red-nodes-w-docker-has-one-big-issue
---
Its a common known design decision by the Docker team that they don't want to have support for symbolic links in their volumes, which means that using the Node-RED docker images while developing Node-RED nodes has a critical flaw since it means that the approach recommended by the Node-RED team which involves creating symbolic links to the source directory from the root of the Node-RED runtime.

Gulp to the rescue... Just setup a pre-launch Gulp script to copy the contents into the root of the Node-RED instance.  
`   import {Gulp} from "gulp";`

let gulp:Gulp = require('gulp');

gulp.task('default', function () {  
return gulp  
.src(\['../../your\_project/\*\*/\*'\])  
.pipe(gulp  
.dest('./node\_modules/your\_project'));  
});
