diff options
author | Indrajith K L | 2023-05-14 14:33:27 +0530 |
---|---|---|
committer | Indrajith K L | 2023-05-14 14:33:27 +0530 |
commit | f5427294172a85f96ca084609019c2895b0c5941 (patch) | |
tree | 5d4a31b0756ad2f5ca37b04f01d1eb35e9c2ad8d /Dockerfile | |
parent | 6aa6cfd38755b124fa77b76ef2135c94241dbd23 (diff) | |
download | package-analyzer-f5427294172a85f96ca084609019c2895b0c5941.tar.gz package-analyzer-f5427294172a85f96ca084609019c2895b0c5941.tar.bz2 package-analyzer-f5427294172a85f96ca084609019c2895b0c5941.zip |
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 |