Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 410 Bytes

DOCKER.md

File metadata and controls

16 lines (9 loc) · 410 Bytes

Docker

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)

Build Container

Run: docker build --no-cache -t wordlearchive:test .

Run Container

Run: docker run -it --rm -p 8080:8080 wordlearchive:test

In web browser go to http://localhost:8080/wordle_archive to see the app