Files
github-webhook-filter/Dockerfile
T
jakub 9e8f417f90 make Docker Compose use PORT for --allow-net flag
Otherwise we get error like this:

error: Uncaught (in promise) PermissionDenied:
Requires net access to "0.0.0.0:8900", run again with the --allow-net flag

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-07-21 13:57:25 +02:00

19 lines
240 B
Docker

FROM denoland/deno:1.42.4
WORKDIR /app
RUN chown -R deno:deno /app
USER deno
COPY deps.ts .
RUN deno cache deps.ts
COPY . .
RUN deno cache main.ts
ENV PORT=8080
CMD ["run", "--allow-env", "--allow-net=:8080,discord.com", "main.ts"]