Spaces:
Sleeping
Sleeping
File size: 533 Bytes
96a5caf 4e320a3 96a5caf da62f9f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | FROM python:3.11-slim
# Required label for Hugging Face Spaces + OpenEnv discovery
LABEL org.opencontainers.image.title="email-triage-env"
LABEL org.opencontainers.image.description="Email Triage & Response Environment for OpenEnv"
LABEL hf_space="openenv"
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy source
COPY . .
# Expose env server port (HF Spaces requires 7860)
EXPOSE 7860
# Default: run the environment server
CMD ["python", "-m", "server.app"]
|