A dispensing container for dental compound, wherein said dispensing container comprises a housing, on the inside of which a slide surface is formed that is intended for engagement with a plunger. The housing encloses an interior and is provided with an outlet channel. A portion of a needle is inserted into the outlet channel. A gap is present between the circumference of the needle and the outlet channel. An adhesive is introduced into the gap. A method also produces a dispensing container of this kind.