Tyler Glasnow gave up two hits and one run in seven innings as the Los Angeles Dodgers beat the Detroit Tigers 6-1.