A device for manufacturing a container with a shell made of a fiber-based material, wherein the container has an open end with an opening and a closed end, wherein the shell has a flange section with a sealing surface at the open end of the container, the device comprising an ultrasonic device with an ultrasonic sonotrode and an anvil, wherein the ultrasonic device is designed to apply ultrasonic vibrations to the spiral winding for finishing the flange section by flattening the spiral winding,
- wherein the ultrasonic device is designed such that the ultrasonic sonotrode for flattening the spiral winding is arranged on a side of the spiral winding in the direction of the closed end and the anvil is arranged on an opposite side of the spiral winding.