A Docker image for developers that use node
This image has the below resources:
- openssh
- git
- Nwb
- Firebase Tools
- Surge
- Shell Scripts
docker run -ti --rm -p 3000:3000 -v `pwd`:/usr/src/app seudev/node-4dev:1.1-alpine
docker run -ti --rm -p 3000:3000 -e GIT_USER_NAME="$(git config --get user.name)" -e GIT_USER_EMAIL="$(git config --get user.email)" -v `pwd`:/usr/src/app seudev/node-4dev:1.1-alpine
Execute in the container:
set-git-config
docker run -ti --rm -p 3000:3000 -e FIREBASE_TOKEN="$FIREBASE_TOKEN" -v `pwd`:/usr/src/app seudev/node-4dev:1.1-alpine
Execute in the container:
firebase deploy --token "$FIREBASE_TOKEN"
docker run -ti --rm -p 3000:3000 -e SURGE_TOKEN="$SURGE_TOKEN" -v `pwd`:/usr/src/app seudev/node-4dev:1.1-alpine
Execute in the container:
surge --token "$SURGE_TOKEN" --domain my-project.surge.sh --project build
docker build -t seudev/node-4dev:1.1-alpine .
seudev/docker-4dev is provided and distributed under the Apache Software License 2.0.
Refer to LICENSE for more information.