The Dockerfile
does a multistage build:
- Stage 1 - build the app (size about 450MB)
- Stage 2 - copy the app into non-priviledged nginx container (size down to 26MB)
Run: docker build --no-cache -t wordlearchive:test .
Run: docker run -it --rm -p 8080:8080 wordlearchive:test
In web browser go to http://localhost:8080/wordle_archive to see the app