### Base image for Hugging Face transformer models FROM huggingface/transformers:4.10.2 ### Set the working directory to /app WORKDIR /app ### Copy the requirements.txt file COPY requirements.txt . ### Install the dependencies RUN pip install -r requirements.txt ### Collect static files COPY . . ### Make port 8000 available to the world EXPOSE 8000 ### Run the Gradio app CMD ["python", "app.py"]