The dispensing container has a housing (14), where a sliding surface (32) is formed in the inner side of the housing. The sliding surface is designed to cooperate with a piston (29). The housing encloses an interior space (15), and is provided with an outlet channel. A section of a cannula (19) is inserted in the outlet channel, where a gap (16) is formed between the periphery of the cannula and the outlet channel. An adhesive is introduced into the gap, where a stop is provided in the outlet channel for the cannula. The outlet channel provides a lateral guide for the cannula. An independent claim is included for a method for manufacturing a dispensing container.