Looking for DockerFile

Where can I find the dockerfile for the official docker image?

I understand its now Alpine based but all the dockerfiles I can seem to find are based off of Debian versions of Python.

ie. FROM python:3.7-buster

here? https://github.com/home-assistant/hassio/blob/4818ad74657fa5914a616a7a5b329ab5c9e8bce2/Dockerfile

isnt this the hassio one not the home-assistant/home-assistant one?

I think the homeassistant images are all built off the hass.io ones. However, I’m a docker newb so not 100% sure how to take the hass.io one and build my own.

The Home Assistant docker image in Hassio, is just normal Home Assistant docker. So Hassio is built from the Home Assistant docker image.

Ah, I stand corrected, thought it was the other way around (hence with the only dockerfile left was in the hass.io repo)

I actually might be wrong about that, as there appears to be ANOTHER repo for hassio-homeassistant

Looking at the docker repo:

https://hub.docker.com/layers/homeassistant/home-assistant/latest/images/sha256-db17471a878f16011ba827f8168397100f8a04aa929bbddd5068cab866d2a602

This line is definitely in the layers:
/bin/ash -o pipefail -c #(nop) LABEL io.hass.base.name=alpine

Getting into my container definitely shows Alpine.
Linux homedock 4.9.65-1-hardened #2-Alpine SMP Mon Nov 27 15:36:10 GMT 2017 x86_64 Linux

Also shows apk instead of apt as the package manager. Definitely running Alpine, but not sure where the dockerfile is pulling it.