15 lines
305 B
Docker
15 lines
305 B
Docker
FROM mcr.microsoft.com/playwright/python:v1.56.0-jammy
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application
|
|
COPY monitor.py .
|
|
|
|
# Create data directory
|
|
RUN mkdir -p /data && chmod 777 /data
|
|
|
|
CMD ["python", "-u", "monitor.py"]
|