Spaces:
Runtime error
Runtime error
FROM python:3.10-slim | |
# Basic tools | |
RUN apt-get update && apt-get install -y git build-essential wget ffmpeg && rm -rf /var/lib/apt/lists/* | |
WORKDIR /workspace | |
# Copy requirements and install | |
COPY requirements.txt /workspace/requirements.txt | |
RUN pip install --no-cache-dir -r /workspace/requirements.txt | |
# Copy code | |
COPY . /workspace | |
ENV TRANSFORMERS_NO_ADVERTISING=1 | |
ENV HF_HOME=/root/.cache/huggingface | |
ENTRYPOINT ["bash", "/workspace/run.sh"] |