diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5bab92f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +.nyc_output/ +docs/api/ +node_modules/ +out/api +out/cache/ +out/coverage/ +out/tmp/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index a2708cc..26c4801 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM node:12-stretch # alpine may be smaller, but comes with a 10-15% perf hit COPY package.json /app/package.json -COPY out/ /app/out/ +COPY yarn.lock /app/yarn.lock + +COPY . /app WORKDIR /app