Skip to content

Commit

Permalink
fix: INF-186: Run image as non-root
Browse files Browse the repository at this point in the history
  • Loading branch information
ralf_weber committed Jan 21, 2025
1 parent e0fdb61 commit efab4c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ COPY graph.db3 .
COPY templates/ templates/
COPY target/release/server .

USER 1000

CMD ["./server"]

0 comments on commit efab4c4

Please sign in to comment.