Return ErrInternalServer when docker server return 500 code

On build docker server return 500 code when:
- Dockerfile wrong syntax
- Non-zero exit code after RUN