2 ms·
Very basic Dockerfile that ChatGPT can spit out. Improvements: - use lock file and npm ci mode - don't run under root - add security headers - add ssl - c
by morbicer 3y ago
Very basic Dockerfile that ChatGPT can spit out.
Improvements:
- use lock file and npm ci mode
- don't run under root
- add security headers
- add ssl
- caching
- sendfile on
- gzip
- why the hell is the builder container named prod?