Corp_AI / docker /Dockerfile
minato1718's picture
feat: update Dockerfile and README for HuggingFace Spaces deployment
ebe877b
raw
history blame contribute delete
444 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY src ./src
COPY configs ./configs
COPY openenv.yaml ./openenv.yaml
COPY inference.py ./inference.py
COPY scripts ./scripts
# Create data directory (fallback synthetic data will be used if empty)
RUN mkdir -p data
EXPOSE 7860
CMD ["uvicorn", "auditenv.server:app", "--host", "0.0.0.0", "--port", "7860", "--app-dir", "src"]