FROM python:3.11-slim

ARG XMS_DNS_VERSION
RUN pip install --no-cache-dir "xms-dns==${XMS_DNS_VERSION}"

EXPOSE 8080

CMD ["xms-dns-server"]
