-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual merge branch
dev
, picked from commits:
- Loading branch information
Showing
6 changed files
with
23 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# syntax=docker/dockerfile:1 | ||
# IMPORTANT: Do not create big size layer due to GitHub Packages have worse performance on this! | ||
FROM denoland/deno:bin-2.0.6 AS stage-deno | ||
FROM denoland/deno:bin-2.1.4 AS stage-deno | ||
FROM debian:12.8-slim | ||
ENV APP_ROOT=/opt/hugoalh/send-discord-webhook-ghaction | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV DENO_NO_PROMPT=1 | ||
ENV DENO_NO_UPDATE_CHECK=1 | ||
COPY --from=stage-deno /deno /opt/denoland/deno/deno | ||
RUN chmod +x /opt/denoland/deno/deno && ln -s /opt/denoland/deno/deno /usr/bin/deno | ||
COPY _color_namespace_list.ts _fswalk.ts _payload.ts _random_integer.ts deno.jsonc mod.ts ${APP_ROOT}/ | ||
COPY _color_namespace_list.ts _payload.ts _random_integer.ts deno.jsonc mod.ts ${APP_ROOT}/ | ||
RUN deno --version && deno info && cd $APP_ROOT && deno install --lock --vendor --entrypoint mod.ts | ||
CMD deno run --allow-env --allow-net=discord.com --allow-read --allow-write --config=$APP_ROOT/deno.jsonc --lock --vendor $APP_ROOT/mod.ts | ||
Check warning on line 13 in Dockerfile GitHub Actions / GitHub PackagesJSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals
Check warning on line 13 in Dockerfile GitHub Actions / GitHub PackagesJSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters