Skip to content

Commit

Permalink
Merge pull request #2 from getlipa/feat-INF-186-dont-run-image-as-root
Browse files Browse the repository at this point in the history
fix: INF-186: Run image as non-root
  • Loading branch information
raweber42 authored Jan 21, 2025
2 parents e0fdb61 + efab4c4 commit f4d1d92
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 f4d1d92

Please sign in to comment.