From 6aa6cfd38755b124fa77b76ef2135c94241dbd23 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 14 May 2023 14:32:57 +0530 Subject: Adds Docker Config --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9488e65 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM denoland/deno + +ARG GIT_REVISION +ENV DENO_DEPLOYMENT_ID=${GIT_REVISION} + +WORKDIR /app + +COPY . . +RUN deno cache main.ts --import-map=import_map.json + +EXPOSE 8000 + +CMD ["run", "-A", "main.ts"] \ No newline at end of file -- cgit v1.2.3