When you're not using your iPhone, place the handset face down. The device automatically detects this placement, and won't light up the display when alerts are received.
(You can also adjust Auto-Lock and turn off Raise to wake to get the same effect)