Producing closure members for containers