Skip to content

Commit

Permalink
build(Dockerfile): Add deno install with --allow-scripts in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Oct 30, 2024
1 parent 749aa00 commit 4b80303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ WORKDIR /app
COPY . /app

RUN deno cache server.ts && \
deno install --allow-scripts && \
deno compile --allow-net --allow-read --allow-env --unstable-kv --no-check server.ts

# Runtime stage
Expand Down

0 comments on commit 4b80303

Please sign in to comment.