You can perform simple, just by clicking and dragging the Firefox icon to Docky bar or simply when you run firefox and its icon appears on Docky clicking the right button on firefox in Docky and the menu displayed triggering option to fix the Docky, simple as that.