Skip to content

Commit

Permalink
feat: run as non-root user (#195)
Browse files Browse the repository at this point in the history
Runs the user-fi container as unprivileged `sbl` user.

Validated the container is able to function properly with the change.

Co-authored-by: gduncklee <[email protected]>
  • Loading branch information
gduncklee and gduncklee authored Jul 23, 2024
1 parent f01eb33 commit d1b6724
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 @@ -16,4 +16,6 @@ WORKDIR /usr/app/src

EXPOSE 8888

USER sbl

CMD ["uvicorn", "regtech_user_fi_management.main:app", "--host", "0.0.0.0", "--port", "8888", "--log-config", "log-config.yml"]

0 comments on commit d1b6724

Please sign in to comment.