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);