J.A.
I work for a family law attorney. I am NOT an attorney. The first thing you need to do is stop talking to him and hire an attorney. Your attorney will make all contact with him or his attorney should he hire one.
Second, establish paternity. Down the road, when this child is nothing more than an inconvenience to him, he may try to pull the "I'm not the father" routine.
Most courts do not award "custody" to one parent anymore. In most cases, it's joint custody with one parent being the primary residential custodian. It's also not called visitation any more, it's parenting time. Be prepared for the Courts to give the father a significant amount of parenting time - probably not 50/50 with his deployment schedule, but you will probably be ordered to work around his deployment schedule.
If you and your attorney truely feel he is a bad influence, take every documented thing you can to court, but be prepared for a fight. Sometimes that is necessary to protect the child.