Look into intermittent fasting. Makes getting in your calories easier, especially on the graveyard shift. Get all your calories in the evenings before work and you will be able to maintain this even on your days off. Workout fasted in the mornings after shift. This is just my experience, do what you got to do to make it work.