A method for producing a sealed container with a product to be preserved therein, wherein a tray is folded from a blank , wherein the blank comprises: a polygonal bottom part , side walls connected along folding lines with the sides of said bottom part , at each corner of said bottom part , two triangular corner connecting parts connected along folding lines with each other and two adjacent ones of said side walls , and flange parts connected along folding lines with each of said side walls and with at least one of each said two triangular corner connecting parts , wherein at least said flange parts have a plastic upper side, wherein said tray is folded by: folding said side walls in one direction relative to said bottom part , and at each corner of said bottom part , folding and fixing said two triangular corner connecting parts onto either the inner side or the outer side of one of the adjacent side walls , folding said flange parts outwardly such that a substantially flat closed-circumferential flange is formed at the upper side of the tray, wherein said tray is placed in a die with said product present in said tray, wherein a sheet is placed over the flange , and wherein a stamp is pressed against said sheet and said flange while the lower side of the flange abuts a counter press surface of the die , whereby said sheet is sealed against said flange , characterized in that said stamp is provided with local protrusions near each corner, wherein seen from above each of said protrusions extend across and on both sides of a step which is formed by the edge of a flange part which extends on top of the flange part below it, such that during sealing the pressure on said sheet and said flange parts is higher across and on both sides of said step than in adjacent parts of said flange parts . a polygonal bottom part , side walls connected along folding lines with the sides of said bottom part , at each corner of said bottom part , two triangular corner connecting parts connected along folding lines with each other and two adjacent ones of said side walls , and flange parts connected along folding lines with each of said side walls and with at least one of each said two triangular corner connecting parts , wherein at least said flange parts have a plastic upper side, folding said side walls in one direction relative to said bottom part , and at each corner of said bottom part , folding and fixing said two triangular corner connecting parts onto either the inner side or the outer side of one of the adjacent side walls , folding said flange parts outwardly such that a substantially flat closed-circumferential flange is formed at the upper side of the tray, wherein said tray is placed in a die with said product present in said tray, wherein a sheet is placed over the flange , and wherein a stamp is pressed against said sheet and said flange while the lower side of the flange abuts a counter press surface of the die , whereby said sheet is sealed against said flange , characterized in that said stamp is provided with local protrusions near each corner, wherein seen from above each of said protrusions extend across and on both sides of a step which is formed by the edge of a flange part which extends on top of the flange part below it, such that during sealing the pressure on said sheet and said flange parts is higher across and on both sides of said step than in adjacent parts of said flange parts . <EOS>