هذا الالتزام موجود في:
2026-07-26 19:57:48 +03:00
التزام a6e65f3f37
29 ملفات معدلة مع 3538 إضافات و0 حذوفات

عرض الملف

@@ -0,0 +1,25 @@
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies if required
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install Python requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY monitor.py index.html entrypoint.sh ./
COPY data.jsonl data.csv monitoring_data.csv ./
# Create symlink so dashboard.html also works without code duplication
RUN ln -sf index.html dashboard.html && chmod +x entrypoint.sh
# Expose HTTP dashboard port
EXPOSE 8080
# Run entrypoint script
ENTRYPOINT ["/app/entrypoint.sh"]