Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Sep 17, 2024
1 parent 5c650e7 commit 5729e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM alpine:3.20.3
ENV APP_ROOT=/opt/hugoalh/send-discord-webhook-ghaction
ENV DENO_NO_PROMPT=1
ENV DENO_NO_UPDATE_CHECK=1
RUN apk update && apk --no-cache add deno
RUN apk update && apk --no-cache add deno && deno upgrade --version 1.46.3
COPY _color_namespace_list.ts _fswalk.ts _parameter.ts _payload.ts _random_integer.ts deno.jsonc mod.ts ${APP_ROOT}/
RUN deno --version && deno info && cd $APP_ROOT && deno cache mod.ts && deno cache --vendor mod.ts
CMD deno run --allow-env --allow-net=discord.com --allow-read --allow-write --config=$APP_ROOT/deno.jsonc --vendor $APP_ROOT/mod.ts

0 comments on commit 5729e67

Please sign in to comment.