add interactive and tty to dockerfile, closes #1870