FROM iojs:3.2.0

RUN mkdir \app

ONBUILD COPY package.json /app/package.json
ONBUILD RUN cd \app & npm install
ONBUILD COPY . /app

CMD "cd \app & npm start"

FROM iojs:3.2.0

RUN mkdir \app
WORKDIR /app

ONBUILD COPY package.json package.json
ONBUILD RUN npm install
ONBUILD COPY . .

CMD [ "npm.cmd", "start" ]

Use WORKDIR on Windows as well.
Use WORKDIR on Windows as well.
