diff --git a/Dockerfile b/Dockerfile index 89e4f8f..ee7d3f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-slim-bookworm +FROM git.atlashorizon.net/atlashorizon/container-base/python:3.12-slim-bookworm RUN useradd --create-home --uid 1000 --shell /usr/sbin/nologin appuser \ && mkdir -p /app /etc/cert-portal \ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2ace776 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +services: + cert-portal: + image: git.atlashorizon.net/nick/cert-portal + container_name: cert-portal + env_file: .env + ports: + - 8000:8000 + volumes: + - /path/to/signing/cert:/etc/cert-portal/profile-signing.p12:ro + restart: unless-stopped \ No newline at end of file