Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Sep 7, 2024
1 parent 850ac93 commit b01b282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ RUN apt-get --assume-yes update && apt-get --assume-yes dist-upgrade && apt-get
COPY --from=denoland/deno:bin-1.46.3 /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 _parameter.ts _payload.ts _random_integer.ts deno.jsonc mod.ts ${APP_ROOT}/
RUN cd $APP_ROOT && deno vendor mod.ts
CMD deno run --allow-env --allow-net=discord.com --allow-read --allow-write --import-map=$APP_ROOT/vendor/import_map.json --no-config $APP_ROOT/mod.ts
RUN cd $APP_ROOT && deno cache mod.ts
CMD deno run --allow-env --allow-net=discord.com --allow-read --allow-write --cached-only --config=$APP_ROOT/deno.jsonc $APP_ROOT/mod.ts

0 comments on commit b01b282

Please sign in to comment.