fix css and js access
handle docker port mapping