Skip to content

Commit

Permalink
new run priv needed
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Oct 3, 2023
1 parent 34ebdb0 commit a968d36
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 @@ -4,4 +4,4 @@ WORKDIR /app
COPY . .

USER deno
CMD deno run --allow-net --allow-read https://deno.land/std/http/file_server.ts -p5000 --no-dotfiles
CMD deno run --allow-net --allow-read --allow-env https://deno.land/std/http/file_server.ts -p5000 --no-dotfiles
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ but all hand-made.
## local dev
```sh
( sleep 3; open http://localhost:8080 & )
deno run --allow-net --allow-read https://deno.land/std/http/file_server.ts -p8080
deno run --allow-net --allow-read --allow-env https://deno.land/std/http/file_server.ts -p8080
```

## misc
Expand Down

0 comments on commit a968d36

Please sign in to comment.