From 0019e7727b9cc732c5b65ef325fc3e69c3676afe Mon Sep 17 00:00:00 2001 From: Max Richter Date: Mon, 28 Aug 2023 22:37:23 +0200 Subject: [PATCH] fix: remove build from doclkerfile --- Dockerfile | 2 +- lib/env.ts | 1 + 2 files changed, 2 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/lib/env.ts b/lib/env.ts index a6777f7..96c6d73 100644 --- a/lib/env.ts +++ b/lib/env.ts @@ -1,3 +1,4 @@ +import "https://deno.land/std/dotenv/load.ts"; export const SILVERBULLET_SERVER = Deno.env.get("SILVERBULLET_SERVER"); export const REDIS_HOST = Deno.env.get("REDIS_HOST"); export const REDIS_PASS = Deno.env.get("REDIS_PASS");