From 72feed0b2202ae35a0a6ca8e836a9ea370191088 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 14 Dec 2023 13:54:03 +0100 Subject: [PATCH] fix: add build script: --- Dockerfile | 2 +- dev.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a4264aa..9553591 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG GIT_REVISION WORKDIR /app COPY . . -RUN deno cache main.ts +RUN deno cache main.ts && deno task build EXPOSE 8000 diff --git a/dev.ts b/dev.ts index 1fe3e34..5e76b1b 100755 --- a/dev.ts +++ b/dev.ts @@ -4,3 +4,5 @@ import dev from "$fresh/dev.ts"; import config from "./fresh.config.ts"; await dev(import.meta.url, "./main.ts", config); + +Deno.exit(0);