Spaces:
Running
Running
Dev Shah
refactor: restructure repository for OpenEnv multi-mode deployment, moved server.py to server/app.py
da62f9f Download Dockerfile from ArthurLewyin/Meta-Hackathon: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/spaces/ArthurLewyin/Meta-Hackathon/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ArthurLewyin/Meta-Hackathon/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ArthurLewyin/Meta-Hackathon/resolve/main/Dockerfile
533 Bytes
| 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"] | |