Fixed docker file with apt-clean

Parse PGN has removed line with timeout. Also added a processed = 0 check to sql command. Untested!
Moved db declaration to within loop

Also grab result to check game not already analyzed...