mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
6b6bc541dd
Signed-off-by: d9pouces <github@19pouces.net>
18 lines
812 B
Docker
18 lines
812 B
Docker
# Minimal npm registry (one package's metadata document plus its tarball)
|
|
# served over TLS, using the same Test CA as the other *-repo fixtures, used
|
|
# by tox-docker to exercise the `npm` module integration test
|
|
# (tests/configs/Npm.yaml.j2, tests/dockerfiles/Npm.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 packagebuild
|
|
COPY build_test_npm_package.py /build_test_npm_package.py
|
|
RUN python3 /build_test_npm_package.py
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=packagebuild /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 npm-repo.nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 8443
|