Files
MamieHenriette/Dockerfile
skylanix 3c693a7848 Ajoute surveillance Zabbix optionnelle et migration Alpine
- Migre vers Alpine Linux avec surveillance Zabbix optionnelle
- Configure variables d'environnement pour activation conditionnelle
- Met à jour documentation avec instructions Docker complètes
2025-08-08 21:08:16 +02:00

16 lines
373 B
Docker
Executable File

FROM alpine:3.22.1
WORKDIR /app
RUN apk add --no-cache python3 py3-pip zabbix-agent2
COPY requirements.txt .
COPY bot.py .
COPY statuts.txt .
COPY zabbix_agent2.conf /etc/zabbix/zabbix_agent2.conf
COPY start.sh /start.sh
RUN pip3 install --no-cache-dir --break-system-packages --root-user-action=ignore -r requirements.txt && \
chmod +x /start.sh
CMD ["/start.sh"]