fix(docker): fix COMMIT_HASH variable check
The previous method was super bad. Even if a variable was declared, if it was empty, we would run into a false-positive. Additionally, the previous method did not allow us to not specify the COMMIT_HASH variable; which is problematic for development environments.
Signed-off-by: Kevin Morris kevr@0cost.org