From cab3679b207bb1835e624c51679fcaf0310209c9 Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Mon, 30 Sep 2024 04:21:34 +0000 Subject: [PATCH] deno v2 jumped the shark --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2319353..3962a82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ COPY . . RUN echo 'import showdown from "https://esm.archive.org/showdown"; Deno.writeTextFileSync("index.html", new showdown.Converter({ completeHTMLDocument: true, tables: true, metadata: true }).makeHtml(Deno.readTextFileSync("README.md")))' | deno run -A - # cache JS files we'll use -RUN deno cache ./index.js +RUN deno cache --allow-import ./index.js # fire up minimal webserver that serves static files & handles arbitrary routes to JS CMD ./index.js -p5000