Run as least privilege user
This commit is contained in:
parent
c5c0fac83c
commit
58e2419db6
|
@ -3,5 +3,6 @@
|
||||||
# heroku container:release -a HEROKU_APP_NAME
|
# heroku container:release -a HEROKU_APP_NAME
|
||||||
ARG BASE_TAG=latest
|
ARG BASE_TAG=latest
|
||||||
FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:$BASE_TAG
|
FROM us-docker.pkg.dev/mango-markets/gcr.io/mango-v4:$BASE_TAG
|
||||||
ENTRYPOINT ["keeper"]
|
ENTRYPOINT ["keeper"]
|
||||||
|
USER mangouser
|
||||||
CMD ["crank"]
|
CMD ["crank"]
|
||||||
|
|
Loading…
Reference in New Issue