Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 1.84 KB

README.md

File metadata and controls

76 lines (51 loc) · 1.84 KB

Node 4dev

docker-4dev

What is it?

A Docker image for developers that use node

Resources

This image has the below resources:

Using Node 4dev

docker run -ti --rm -p 3000:3000 -v `pwd`:/usr/src/app seudev/node-4dev:1.1-alpine

Using to commit with local config

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

Using to deploy on Firebase

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"

Using to deploy on Surge

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

Building this image:

docker build -t seudev/node-4dev:1.1-alpine .

Licensing

seudev/docker-4dev is provided and distributed under the Apache Software License 2.0.

Refer to LICENSE for more information.