Mine gets drained for five seconds every forty five minutes via an automatic drain valve. From the valve there is a piece of 1/4” copper tube ran through the wall to the outside.
Unless you change the oil in the compressor often I wouldn’t put it outside. My brother put his outside under a shed, the condensation in the oil would freeze and lock the compressor up. He moved it inside after the first winter.