A flexible container (1) for storing a liquid medicament comprises a storage compartment (11) for the liquid medicament, the container having a container wall consisting of two adjacent wall sheets (101, 102) of flexible material that are sealed together (13, 14) along a sealing rim (13), and an insert part (2) that is arranged between the two wall sheets, having an essentially flat body (21) with a first, upper surface (211) and a second, lower surface (212), and an inner conduit (23) opening toward the upper surface (211), and being fluidly connected to one or more drain channels (22, 221) that lead to an outer edge of the body (21). The container comprises an access opening (121) on one of the wall sheets, the access opening being designed to be fluidly connected to an outer conduit system (33), The insert part fluidly connects (22, 23, 221) the storage compartment and the access opening. The insert part comprises a sealing lip (27) arranged on the upper surface (211), for sealingly connecting the inner conduit (23) with an external conduit system (33), the sealing lip (27) preferably consisting of a material with higher elasticity than the material of the body (21) of the insert part.