From f61e803fd49a450220420fe5feb5e5d9ca98121d Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Sun, 23 Apr 2017 02:31:54 +0300 Subject: [PATCH] Try switcging workdir to /app --- {{cookiecutter.project_slug}}/compose/node/Dockerfile-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/compose/node/Dockerfile-dev b/{{cookiecutter.project_slug}}/compose/node/Dockerfile-dev index 2df0e0f6..f493ddc7 100644 --- a/{{cookiecutter.project_slug}}/compose/node/Dockerfile-dev +++ b/{{cookiecutter.project_slug}}/compose/node/Dockerfile-dev @@ -2,10 +2,10 @@ FROM node:7-slim RUN mkdir -p /app -COPY package.json /app/package.json - WORKDIR /app +COPY package.json /app/package.json + RUN npm install && npm cache clean ENV PATH ./node_modules/.bin/:$PATH