Skip to content

Commit

Permalink
run container as non root user
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Waffen <[email protected]>
  • Loading branch information
rwaffen committed Aug 2, 2024
1 parent 39a197d commit adb970c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ RUN apk update \

WORKDIR /repo

RUN addgroup -S voxbox && adduser -S voxbox -G voxbox
USER voxbox

ENTRYPOINT [ "rake" ]
CMD [ "-f", "/Rakefile", "-T" ]

0 comments on commit adb970c

Please sign in to comment.