rearrange frontend dockerfile so that cache doesn't break on nginx change
rearrange frontend dockerfile so that cache doesn't break on nginx change

TRI-AMDD/piro,TRI-AMDD/piro,TRI-AMDD/piro,TRI-AMDD/piro,TRI-AMDD/piro