Definition of the alaskan pipeline are an oil pipeline that runs 800 miles from wells at Prudhoe Bay to the port of Valdez .