Skip to content

Commit

Permalink
Fix app crashing on fly.io
Browse files Browse the repository at this point in the history
Suddenly we need `--allow-sys` because octokit imports `https://esm.sh/v135/[email protected]/denonext/clean-stack.mjs`

I don't know why it's not pinned

Signed-off-by: Yarden Shoham <[email protected]>
  • Loading branch information
yardenshoham committed May 18, 2024
1 parent 8285cf3 commit bbd635d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ USER deno
WORKDIR /app
COPY src .
RUN deno cache webhook.ts
CMD ["run", "--allow-net", "--allow-env", "--allow-run", "webhook.ts"]
CMD ["run", "-A", "--allow-env", "--allow-run", "--allow-sys", "webhook.ts"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ BACKPORTER_GITEA_FORK= # The fork of go-gitea/gitea to push the backport branch
Then run:

```bash
deno run --allow-net --allow-env --allow-run src/webhook.ts
deno run --allow-net --allow-env --allow-run --allow-sys src/webhook.ts
```

This will spin up a web server on port 8000. You can then set up a GitHub
Expand Down

0 comments on commit bbd635d

Please sign in to comment.