Skip to content

Commit 010d749

Browse files
author
cx-Margarita-LevitM
committed
Fix IAC vulnerability issue
1 parent ab2af8b commit 010d749

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ COPY cleanup.sh /app/cleanup.sh
99
RUN chmod +x /app/entrypoint.sh \
1010
&& chmod +x /app/cleanup.sh
1111

12+
RUN chown -R nonroot:nonroot /app
13+
1214
USER nonroot
1315

1416
HEALTHCHECK NONE

0 commit comments

Comments
 (0)