Skip to content

Commit 804ecf3

Browse files
committed
chore: update deno compile and run commands to include --allow-scripts=npm:protobufjs
1 parent 3155afa commit 804ecf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN deno cache src/server.ts
1212

1313
FROM cache AS build
1414
RUN deno check src/server.ts
15-
RUN deno compile --unstable-otel --allow-net --allow-env --allow-read --allow-sys --allow-run --output=/usr/on-the-edge src/server.ts
15+
RUN deno compile --unstable-otel --allow-net --allow-env --allow-read --allow-sys --allow-run --allow-scripts=npm:protobufjs --output=/usr/on-the-edge src/server.ts
1616

1717
FROM build AS final
1818
RUN rm -r /usr/app

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tasks": {
2121
"check": "deno check src/server.ts",
2222
"test": "deno test --allow-read --allow-env --allow-net",
23-
"start": "deno run --unstable-otel --allow-read --allow-env --allow-net --allow-sys --allow-run ./src/server.ts",
23+
"start": "deno run --unstable-otel --allow-read --allow-env --allow-net --allow-sys --allow-run --allow-scripts=npm:protobufjs ./src/server.ts",
2424
"check-deps": "deno run -A jsr:@check/deps"
2525
},
2626
"nodeModulesDir": "auto"

0 commit comments

Comments
 (0)