Browser / Dockerfile
Akwbw's picture
Create Dockerfile
dc15560 verified
# Docker template chosen
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Install Playwright browsers
RUN playwright install
# Copy app
COPY app.py .
# Run Flask app
CMD ["python", "app.py"]