13 lines
267 B
Docker
13 lines
267 B
Docker
|
|
FROM python:3.12-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
COPY pyproject.toml .
|
||
|
|
COPY fusionagi fusionagi
|
||
|
|
RUN pip install --no-cache-dir -e ".[api]" && pip install uvicorn
|
||
|
|
COPY examples examples
|
||
|
|
|
||
|
|
EXPOSE 8000
|
||
|
|
|
||
|
|
CMD ["uvicorn", "fusionagi.api.app:app", "--host", "0.0.0.0", "--port", "8000"]
|