- Leverage webpack chunk splitting to creating more, smaller JS files rather than one large main file (import(file) syntax) - Enable long-term caching by adding content hash to output file names - Copy entire /dist folder contents in Dockerfile - Changed yarn start-dev -> yarn start since there is no prod server - Reenable locale picker
6 lines
88 B
Docker
6 lines
88 B
Docker
FROM nginx
|
|
|
|
COPY ./dist/ /usr/share/nginx/html
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
|
|