CKS_Agentic_AI_V1 / Dockerfile
CKSINGH's picture
Deploy bucket-aware FastAPI backend
3450950
raw
history blame contribute delete
398 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PORT=7860
WORKDIR /code
COPY requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r /code/requirements.txt
COPY app /code/app
COPY README.md /code/README.md
EXPOSE 7860
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860}"]