I would use a probe attached to a sensor. That way the sensor lives outside the freezer and isn’t subject to the harsh environment. For example:
You could also see what other people have done by just searching the forum for “freezer.”