Image with Node, Yarn and AngularCLI
440
Image with Node, Yarn and AngularCLI
Versions:
Including:
Default command is 'bash'.
$ sudo docker run --rm -ti --name angular \
--user $(id -u):$(id -g) \
--volume $(pwd):/data \
--expose 4200
--publish 4200:4200
salade2chats/angular \
[command]
--user $(id -u):$(id -g)
Needed to be a non-root user, and keep host right owner. A /home/visitor folder is automatically created.--volume $(pwd):/data
Mount the current folder into /data (default folder)--expose 4200
Expose default Angular serve port--publish 4200:4200
Map exposed port on hostStart Angular serve with --host 0.0.0.0 property
Example: yarn run start --host 0.0.0.0
Content type
Image
Digest
Size
111 MB
Last updated
about 8 years ago
docker pull salade2chats/angular