Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-app-donations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-app-donations
Commits
be4baa63
Commit
be4baa63
authored
1 year ago
by
Stephanie Freitag
Browse files
Options
Downloads
Patches
Plain Diff
NOISSUE: pass allow-read flag for npm dependencies
parent
55f07478
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
deno.json
+2
-2
2 additions, 2 deletions
deno.json
with
3 additions
and
3 deletions
Dockerfile
+
1
−
1
View file @
be4baa63
...
...
@@ -13,4 +13,4 @@ COPY ./app ./app
RUN
deno cache
--lock
=
deno.lock app/deps.ts
RUN
deno cache app/main.ts
CMD
["deno", "run", "--allow-net", "--allow-env", "--lock=deno.lock", "--cached-only", "app/main.ts"]
CMD
["deno", "run", "--allow-net", "--allow-env",
"--allow-read",
"--lock=deno.lock", "--cached-only", "app/main.ts"]
This diff is collapsed.
Click to expand it.
deno.json
+
2
−
2
View file @
be4baa63
...
...
@@ -8,8 +8,8 @@
"updateDeps"
:
"deno cache --lock=deno.lock --lock-write app/deps.ts app/dev_deps.ts"
,
"install"
:
"deno cache --reload --lock=deno.lock app/deps.ts app/dev_deps.ts"
,
"cache"
:
"deno cache app/main.ts"
,
"dev"
:
"deno run --allow-net --allow-env --lock=deno.lock --cached-only --watch app/main.ts"
,
"start"
:
"deno run --allow-net --allow-env --lock=deno.lock --cached-only app/main.ts"
,
"dev"
:
"deno run --allow-net --allow-env
--allow-read
--lock=deno.lock --cached-only --watch app/main.ts"
,
"start"
:
"deno run --allow-net --allow-env
--allow-read
--lock=deno.lock --cached-only app/main.ts"
,
"docker"
:
"docker build -t donations-api . && docker run -it --init -p 8001:8001 donations-api"
,
"coverage"
:
"deno test --coverage=coverage && deno coverage coverage"
,
"pre-commit"
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment