Skip to content

Commit c152e74

Browse files
committed
Updated dockerfile
1 parent 3c6b004 commit c152e74

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN adduser -D $USER \
1111
&& chmod 0440 /etc/sudoers.d/$USER
1212

1313
# Set the working directory inside the container
14+
USER $USER
1415
WORKDIR $HOME/app
1516

1617
# Copy the package.json and lock file to install dependencies

trivy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
format: json
22
exit-code: 1
3-
debug: true
3+
debug: false
44
scan:
55
scanners:
66
- vuln

0 commit comments

Comments
 (0)