Dockerfile for nodejs image build
FROM node:6.9.4 RUN mkdir -p /usr/src/app RUN npm install -g gulp WORKDIR /usr/src/app # Install app dependencies COPY package.json /usr/src/app/ RUN npm install # Bundle app source COPY . /usr/src/app I start the image with the command
docker run -p 3000:3000 -v `pwd`:/data --rm -it nodejs Everything starts fine, but I want something when I change any file in the IDE, it also changes inside the running container. How to implement it?