Improve Dockerfile (#256)
authorC0ffeeCode <ritters_werth@outlook.com>
Sun, 30 Jan 2022 15:28:38 +0000 (16:28 +0100)
committerGitHub <noreply@github.com>
Sun, 30 Jan 2022 15:28:38 +0000 (20:58 +0530)
commit1b9216b3415866e77c964c80a90b2ce6b3db48be
tree41010a50bad8e53bad9d92ad26c814d0dc041336
parent6d97e5fa5d77e7dda3dc1a980c45d1f9dcae3960
Improve Dockerfile (#256)

* Use npm ci over install to achive faster and more expectable build results;
Split copy package(-lock).json files and ci then to avoid reinstalling dependencies when not needed => Faster build times

* Stopp adding wasm type to mime.types, its already there (duplicate):
- avoids warning in console
- cleans up
- might have been missing in past nginx:alpine versions but now exists

* Change node tag from alpine and nginx to more specific ones for #260
.dockerignore [new file with mode: 0644]
Dockerfile