FROM huggingface/text-generation-inference:latest # Copy your app code COPY . /app # Install any necessary dependencies RUN pip install -r requirements.txt # Expose the port the app will run on EXPOSE 7860 # Start the app when the container launches CMD ["python", "app.py"]