Multi_Agent_Model / Dockerfile
sonthaiha's picture
Deploy Agentic RPA System v1
2e91995 verified
raw
history blame contribute delete
581 Bytes
FROM python:3.10-slim
# Install System Dependencies (PDF & Media)
RUN apt-get update && apt-get install -y \
poppler-utils \
ffmpeg \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python Deps
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy Code
COPY . .
# Create Directories for Data
RUN mkdir -p src/data/docs src/data/blueprints my_workflows
# Set Permissions
RUN chmod -R 777 src/data my_workflows
# Launch Server (HF Spaces use port 7860)
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]