Aanand Prasad
Author Archives: Aanand Prasad
Author Archives: Aanand Prasad
During the DockerCon 2016 keynote, I demonstrated a development workflow with Docker for Mac, going from a fresh laptop to a running app in no time. The especially cool part was when I live-debugged a Node.js app running inside a container from my IDE, despite having no Node.js runtime installed on my laptop. Here I’m going to show you how to do it yourself.
Here’s what you’ll need:
Create a directory to work from:
$ mkdir node-example $ cd node-example
To get our app running, we’ll need 5 files:
package.json
to define the npm dependenciesDockerfile
to package the whole app in a containerCreate Continue reading