Examples
Last updated
$ mkdir static
$ cd static<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>A static page</title>
</head>
<body>
<h1>Hello from a static page</h1>
</body>
</html>{
"Dirs" : ["static"],
"Files":["/lib/x86_64-linux-gnu/libnss_dns.so.2", "/etc/ssl/certs/ca-certificates.crt"]
}{
"Dirs" : ["static"]
}.
├── config.json
├── server
└── static
└── hello.html$ ops run -p 8080 -c config.json servercurl http://localhost:8080/hello.html