UVs on face of cube for repeated textures

Ok so I have a cube(or rather square prism as it doesn’t have 1 set of opposing sides) and I’m trying to get a texture to repeat on each face. I have the 8 vertices, the 8 triangles(or 28 indices), and the 8 uv’s.

The uv’s are as such (0,0), (1,0), (2,0), (3,0),
(0,1), (1,1), (2,1), (3,1).

This gives me the desired result of a repeated texture for the first 3 faces but for the last face where the last vertices join with the first vertices my texture is tripled up and squeezed on the face.

How do do I get the last face to only apply the texture once like all the others?

As long each vertex can only hold one UV you have to duplicate each vertex that shoud have diferent values for the faces that share it, so each face will have his own vertex and vertex data.