aoh

A tool for running Ansible playbooks with `curl <url> | python` commands
git clone https://git.ashermorgan.net/aoh/
Log | Files | Refs | README

Dockerfile (308B)


      1 FROM python:3.14-alpine
      2 
      3 WORKDIR /app
      4 
      5 COPY requirements.txt .
      6 RUN python3 -m pip install --no-cache-dir -r requirements.txt
      7 
      8 COPY aoh aoh
      9 COPY demo /aoh
     10 
     11 ENV AOH_PASSWORDS_FILE=/aoh/passwords.yml AOH_PLAYBOOKS_FILE=/aoh/playbooks.yml
     12 
     13 EXPOSE 8000
     14 
     15 CMD ["gunicorn", "-b", "0.0.0.0:8000", "aoh:create_app()"]