catching correct signal, dockerfile fixed, new build script