redveil / Dockerfile
github-actions[bot]
deploy RedVeil environment
c31004e
raw
history blame contribute delete
642 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends git curl && \
rm -rf /var/lib/apt/lists/*
# Copy project files as a proper Python package
COPY redveil /app/redveil
# Install Python dependencies
RUN pip install --no-cache-dir \
"openenv-core[core]>=0.2.2" \
uvicorn \
fastapi \
pydantic \
flask \
requests
# Set PYTHONPATH so "redveil" is importable as a package
ENV PYTHONPATH="/app:$PYTHONPATH"
# HF Spaces expects port 7860
EXPOSE 7860
CMD ["uvicorn", "redveil.server.app:app", "--host", "0.0.0.0", "--port", "7860"]