wohnbot/Dockerfile
2025-12-27 11:59:04 +01:00

18 lines
379 B
Docker

FROM mcr.microsoft.com/playwright/python:v1.57.0-jammy
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY main.py .
# Copy the handlers directory into the Docker image
COPY handlers/ ./handlers/
# Create data directory
RUN mkdir -p /data && chmod 777 /data
CMD ["python", "-u", "main.py"]