refactor(Docker)!: 💥 Changes Dockerfile to more closely adhere to best practice #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/3/dockerfile-best-practice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit changes the Dockerfile to adhere closer to the standards set by tools like Sonarqube et al.
It enforces the usage of a nonroot user, copies files explicitly between build stages and makes the binary
filename consistent with our binary releases.
fix: #3
BREAKING CHANGE: This commit changes the name of the binary inside the Docker image. If you are using
the Docker image with a custom commandline or entrypoint update your references from
/app/mybot
to/app/gitea-register-account-bot