Spaces:
Runtime error
Runtime error
Download Dockerfile from joshnavip/ai-code-detection: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/joshnavip/ai-code-detection/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/joshnavip/ai-code-detection/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/joshnavip/ai-code-detection/resolve/main/Dockerfile
349 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY . /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| nodejs \ | |
| npm \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --upgrade pip | |
| RUN pip install -r render-requirements.txt | |
| EXPOSE 7860 | |
| CMD ["reflex", "run", "--single-port", "--frontend-port", "7860"] | |