10 lines
384 B
Docker
Executable File
10 lines
384 B
Docker
Executable File
FROM python:3.13-slim-trixie
|
|
COPY requirements.txt requirements.yml /tmp/
|
|
RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
|
&& ansible-galaxy collection install -r /tmp/requirements.yml -p /usr/share/ansible/collections \
|
|
&& useradd --create-home tester
|
|
WORKDIR /roles/ansible-role-owncast
|
|
COPY . ./
|
|
ENV ANSIBLE_ROLES_PATH=/roles
|
|
USER tester
|
|
CMD ["sh", "tests/run.sh"] |