fix: add build script:

This commit is contained in:
max_richter 2023-12-14 13:54:03 +01:00
parent 01a9fbd673
commit 72feed0b22
2 changed files with 3 additions and 1 deletions

View File

@ -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

2
dev.ts
View File

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