Skip to content

Commit

Permalink
#7 Give application read access to source files so it can provide sou…
Browse files Browse the repository at this point in the history
…rce maps to sentry
  • Loading branch information
danielemery committed Jul 26, 2024
1 parent f30cbee commit 5b6420d
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 @@ -15,4 +15,4 @@ ADD . .
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache main.ts

CMD ["run", "--allow-net", "--allow-env", "main.ts"]
CMD ["run", "--allow-net", "--allow-env", "--allow-read=./src", "main.ts"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ curl "https://keys.demery.net/api?allOf=demery&allOf=thunderbird&noneOf=disabled
### Running locally

```sh
doppler run -- deno run --allow-net --allow-env main.ts
doppler run -- deno run --allow-net --allow-env --allow-read=./src main.ts
```

### Run tests
Expand Down

0 comments on commit 5b6420d

Please sign in to comment.