A dispensing system comprising a discharge tool in the form of a compule gun and a replaceable dispensing container in the form of a compule for dental compound. The 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 ram in the discharge tool engages the plunger. A method also produces a dispensing system of this kind.