Image for learn rxjs.
Execute the src/index.ts
:
docker run -v $(pwd):/app/src magicjo/learn-rxjs:latest start
Execute tslint
:
docker run -v $(pwd):/app/src magicjo/learn-rxjs:latest lint
Copy container node_modules
in the current folder (for the ide, for example):
docker run -v $(pwd):/app/src --entrypoint './cp-nodemodules.sh' magicjo/learn-rxjs:latest
First build:
docker build --force-rm --pull --no-cache --tag learn-rxjs .
Then tag image:
docker tag learn-rxjs magicjo/learn-rxjs:latest
At the end, publish:
docker push magicjo/learn-rxjs:latest