Commit 0eb3890
ABaldwinHunter
Update dockerfile to copy package.json before running npm install
We recently packaged codeclimate-fixme as a node module and so
updated the Dockerfile to run simply `npm install`, grabbing the
requisite dependencies from the package.json.
However, we need to make sure that the package.json gets copied
over first. This change fixes the Dockerfile and makes it look
more like the flow in some of our other engines.
E.g.: codeclimate-rubocop
https://github.com/codeclimate/codeclimate-rubocop/blob/master/Dockerfile1 parent d761d0a commit 0eb3890
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
0 commit comments