- Small size 477MB
Dockerfile
based on officialnode:14.16-alpine
image (see Dockerfile)- With
seccomp
profile for Chrome (chrome.json
, thanks to Jessie Frazelle) - Under
node
user.
docker-compose up --build -V
- Same as
v1
but based on alpine's image (see Dockerfile.v2.alpine) - Small size 420MB
docker-compose -f docker-compose.v2.alpine.yml up --build -V
My choice is v1, because it's easier to update the nodejs version just by changing the base image tag, +50 MB is not much.
Glad if I saved your time.