1
Fork 0
mirror of https://github.com/RGBCube/cinny synced 2025-08-03 10:27:45 +00:00

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
This commit is contained in:
C0ffeeCode 2022-01-30 16:28:38 +01:00 committed by GitHub
parent 6d97e5fa5d
commit 1b9216b341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
node_modules/
.git/