I have a nodejs application, which has two entry points **worker.js** and **web.js**

Basically, **web** should respond to all incoming http requests and **worker** should do some backend tasks.

Here is the question, how can I create two separate images from the same codebase? The problem is I can't create separate folder inside of my project with different Dockerfiles because I can't execute `ADD ../ /app` and I don't want to keep two copies of codebase. Project is in git repo but not published.

`bash
docker run -d -p 80:80 --name app-web application-web
docker run -d --name app-worker application-worker`

Thanks