The answer, as with all modes, lies with the pattern of intervals ... the Dorian mode or the melodic minor scale. It even contains the notes of the good old minor pentatonic scale, so you're ...
Harmonic minors use the relative major key signature and raise the seventh note of the scale. For example, in A harmonic minor there are no sharps or flats other than the raised seventh of G#.