From f5427294172a85f96ca084609019c2895b0c5941 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 14 May 2023 14:33:27 +0530 Subject: Adds Docker --- Dockerfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9488e65..323d2ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +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 - +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