aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorIndrajith K L2023-05-14 14:32:57 +0530
committerIndrajith K L2023-05-14 14:32:57 +0530
commit6aa6cfd38755b124fa77b76ef2135c94241dbd23 (patch)
treed29d83deeee98da76a776733cb5e80a6d79348c2 /Dockerfile
parentfc0064f6a0ed4c66a726a93786f7e1bb39bcfe80 (diff)
downloadpackage-analyzer-6aa6cfd38755b124fa77b76ef2135c94241dbd23.tar.gz
package-analyzer-6aa6cfd38755b124fa77b76ef2135c94241dbd23.tar.bz2
package-analyzer-6aa6cfd38755b124fa77b76ef2135c94241dbd23.zip
Adds Docker Config
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
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