geekcell/docker-compose-nodejs-examples

Adding package.json twice?

AlexanderKozhevin opened this issue · 1 comments

Did I got it right?
So now we copy the package.json twice.
First in Dockerfile in ADD instruction.
And second time by Volumes instruction in docker-compose.yml

Yes, it's because we need package.json on "build" stage. Did you find a better solution?