# Minimal PEP 503 "simple" package index, serving one hand-built test wheel # over TLS, used by tox-docker to exercise the `python` module integration # test (tests/configs/Python.yaml.tmpl, tests/dockerfiles/Python.Dockerfile). # # Built by tox-docker, whose build context is this directory (not the repo # root) - every COPY source below must live under tests/dockerfiles/repos/. FROM python:3.13-slim AS wheelbuild COPY build_test_wheel.py /build_test_wheel.py RUN python3 /build_test_wheel.py FROM nginx:alpine COPY --from=wheelbuild /srv /srv COPY repo-server.crt.pem /etc/nginx/certs/repo-server.crt.pem COPY repo-server.key.pem /etc/nginx/certs/repo-server.key.pem COPY pypi-repo.nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 8443