Sign inSign up

yannoff/ng

By yannoff

•Updated over 4 years ago

A node docker image with Angular.

Image
0

1.4K

yannoff/ng repository overview

⁠yannoff/ng

A node docker image with Angular.

⁠Usage

⁠Dynamic build
⁠Build arguments
NameDescription
GIT_USEROptional value to be stored as user.name global config
GIT_EMAILOptional value to be stored as user.email global config
⁠Example

Dynamic builds allow for flexible images.

# docker-compose.yaml
version: '3.6'
services:
    ng:
        build:
            context: https://github.com/yannoff/docker-ng#:14
            args:
                GIT_USER: acme
                GIT_EMAIL: [email protected]
        volumes:
            - ./:/src
        working_dir: /src
        ports:
            - 4200:4200
⁠Compiled images

Compiled images are convenient to run one-shot commands, such as creating a brand new project.

⁠Supported tags
⁠Example
docker run -it --rm -u $UID:$GID -v $PWD:/src -w /src yannoff/ng ng new hello-world

⁠License

Licensed under the MIT License⁠.

Tag summary

Content type

Image

Digest

Size

108.4 MB

Last updated

over 4 years ago

docker pull yannoff/ng