Spaces:
Sleeping
Sleeping
Download Dockerfile from cjovs/codex-console: direct link, hf CLI and curl.
- Browser
- Download file 509 Bytes
-
https://huggingface.co/spaces/cjovs/codex-console/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/cjovs/codex-console/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/cjovs/codex-console/resolve/main/Dockerfile
509 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| APP_HOST=0.0.0.0 \ | |
| LOG_LEVEL=info \ | |
| DEBUG=0 | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends \ | |
| bash \ | |
| gcc \ | |
| python3-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["bash", "/app/deploy/huggingface/start.sh"] | |