new-project/Dockerfile.api
Hermes Agent 3dcc8e4c5b
Some checks are pending
CI/CD Pipeline / build-and-test (push) Waiting to run
CI/CD Pipeline / deploy (push) Blocked by required conditions
Infra update: Add Dockerfiles, .env template, and Coolify config
2026-06-11 03:28:58 +00:00

13 lines
No EOL
252 B
Docker

# Dockerfile.api - FastAPI Backend
FROM python:3.11-slim
WORKDIR /app
# Install uvicorn for async server
RUN pip install uvicorn fastapi pydantic
COPY ./backend.py .
EXPOSE 8000
CMD ["uvicorn", "backend:app", "--host", "0.0.0.0", "--port", "8000"]