fix(server): local env not being copied