# The app image. It builds on minix-base (.minix/Dockerfile), which minix regenerates with the
# system packages and minix extras the project needs. Add your own steps here: minix never edits
# this file. Build it with `docker compose build`, which builds minix-base first.
FROM minix-base

COPY . .

ENV APP_PORT=__APP_PORT__

# Numeric default keeps dockerfile-utils happy; `minix init` rewrites this line.
EXPOSE 8000

CMD ["sh", "-c", "uvicorn entries.api:Api --host 0.0.0.0 --port ${APP_PORT}"]
