async-dialogflow-chat / dockerfile
ehsanhon's picture
Upload folder using huggingface_hub
7198a50 verified
Raw History Blame Contribute Delete
347 Bytes
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy all project files
COPY . .
# Install dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Expose port 7860 as required by Hugging Face
EXPOSE 7860
# Run the FastAPI app
CMD ["uvicorn", "app3:app", "--host", "0.0.0.0", "--port", "7860"]