screenvlm-parser / Dockerfile
ronke123's picture
Create Dockerfile
b6e4bac verified
Raw
History Blame Contribute Delete
402 Bytes
FROM python:3.11-slim
# Install system dependencies for OpenCV/Pillow image rendering
RUN apt-get update && apt-get install -y \
ffmpeg \
libsm6 \
libxext6 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
# Install standard CPU wheels
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["python", "app.py"]