mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
a8435e9c96
Signed-off-by: d9pouces <github@19pouces.net>
17 lines
742 B
Docker
17 lines
742 B
Docker
# 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
|