Run as least privilege user

This commit is contained in:
silas 2022-10-26 20:26:53 +01:00 committed by GitHub
parent c5c0fac83c
commit 58e2419db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -3,5 +3,6 @@
# heroku container:release -a HEROKU_APP_NAME
ARG BASE_TAG=latest
FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:$BASE_TAG
ENTRYPOINT ["keeper"]
ENTRYPOINT ["keeper"]
USER mangouser
CMD ["crank"]