diff options
author | Elizabeth Alexander Hunt <me@liz.coffee> | 2025-05-10 21:26:53 -0700 |
---|---|---|
committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2025-05-10 21:35:10 -0700 |
commit | 8e14c8eff79047d5b2671b979d2e632e8b1b1718 (patch) | |
tree | 1c9f0c2d52bcf7cfc993598ce0be46edd4103e02 /hooks | |
parent | 2c0d7236c6455adf6a14a0430e4a7ae59bb26261 (diff) | |
download | ci-8e14c8eff79047d5b2671b979d2e632e8b1b1718.tar.gz ci-8e14c8eff79047d5b2671b979d2e632e8b1b1718.zip |
Optimize worker dockerfile a bit
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/Dockerfile | 2 | ||||
-rw-r--r-- | hooks/mod.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hooks/Dockerfile b/hooks/Dockerfile index 4dce8b9..e34988b 100644 --- a/hooks/Dockerfile +++ b/hooks/Dockerfile @@ -1,4 +1,4 @@ FROM oci.liz.coffee/img/liz-ci:release AS hooks ENTRYPOINT [] -CMD [ "deno", "run", "--allow-env", "--allow-net", "/app/hooks/mod.ts" ] +CMD [ "/app/hooks/mod.ts" ] diff --git a/hooks/mod.ts b/hooks/mod.ts index 767720a..ef44d25 100644 --- a/hooks/mod.ts +++ b/hooks/mod.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --allow-env --allow-net +#!/usr/bin/env -S deno run --allow-env --allow-net --allow-run import { getRequiredEnv, getStdout, validateIdentifier } from "@liz-ci/utils"; |