Files
aniscrap/Dockerfile
2026-04-02 06:51:15 +00:00

15 lines
230 B
Docker

FROM mcr.microsoft.com/playwright/python:v1.58.0-jammy
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV HEADLESS="true"
ENV PORT=7860
EXPOSE $PORT
CMD ["python", "main.py"]