From another terminal run curl http://localhost:1993
Fails with the error below
error: Uncaught (in promise) TypeError: Deno.writeAll is not a function
await Deno.writeAll(
^
at BufWriter.flush (https://deno.land/std@0.77.0/io/bufio.ts:468:18)
at writeResponse (https://deno.land/std@0.77.0/http/_io.ts:288:16)
at eventLoopTick (ext:core/01_core.js:175:7)
at async ServerRequest.respond (https://deno.land/std@0.77.0/http/server.ts:84:7)
Copying the code verbatim from the docker example does not work.
Can be reproduced by:
docker build -t app .
docker run -it --init -p 1993:1993 app
curl http://localhost:1993