I have wrote a Dockerfile to create a new node.js container with given code:
FROM node:latest
RUN mkdir -p //usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install
EXPOSE 8080
EXPOSE 5858
CMD [ "npm", "start" ]
nothing complicated. But now I add a symbolic link to the folder, which should added to container. But if I try to run the container I get a error message that a folder is not found. It is same I added as symbolic link.
Is there a possibility to keep link and tell docker to follow link and copy files to docker container?