dev-env-debugger / Dockerfile
Ajjack4
initial submission — Dev Environment Debugger OpenEnv hackathon
125deae
Raw History Blame Contribute Delete
419 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy source
COPY . .
# HuggingFace Spaces uses port 7860
EXPOSE 7860
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:7860/health')"
CMD ["python", "api.py"]