Dockerfile
for https://hub.docker.com/r/reacteev/chromium-node.
The image has:
- node
- chromium
docker run -it --rm --volume "$(pwd):/app" reacteev/chromium-node:latest /bin/sh
Tag with Git the versions of Node and Chromium, like
node-18.16.0-alpine_chromium-112.0.5615.165
.
docker build \
--tag reacteev/chromium-node:latest \
--tag reacteev/chromium-node:$(git describe --tag) \
.
docker login
docker push reacteev/chromium-node:latest
docker push reacteev/chromium-node:$(git describe --tag)
- Add GitHub Actions to push images to the Docker hub, see this documentation https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/.