Consider the viscous Burgers equation on a bounded interval with inhomogeneous Dirichlet boundary conditions. Following the variational framework introduced in [4], we analyze a Lyapunov functional for such equation which gives the large deviations asymptotics of a stochastic interacting particles model associated to the Burgers equation. We discuss the asymptotic behavior of this energy functional, whose minimizer is given by the unique stationary solution, as the length of the interval diverges. We focus on boundary data corresponding to a standing wave solution to the Burgers equation in the whole line. In this case, the limiting functional has in fact a one-parameter family of minimizers and we analyze the so-called development by Γ-convergence; this amounts to compute the sharp asymptotic cost corresponding to a given shift of the stationary solution.2000 Mathematics Subject Classification. Primary 35A15, 34B40; Secondary 35B40, 82B24.