rules_nodejs icon indicating copy to clipboard operation
rules_nodejs copied to clipboard

Add container_image example to create-react-app example

Open w4-hanggi opened this issue 3 years ago • 0 comments

container_image(
    name = "nginx_image",
    base = "@io_docker_index_nginx//image",
    directory = "/etc/nginx",
    files = [
        "nginx.conf",
    ],
)

container_image(
    name = "image",
    base = ":nginx_image",
    data_path = "./build",
    directory = "/www",
    files = [
        ":build",
    ],
    visibility = ["//visibility:public"],
)

This is not works based on create-react-app example.

w4-hanggi avatar May 02 '22 23:05 w4-hanggi