Spaces:
Running
Running
Download Dockerfile from IDKHowToCodeFr/vera-engine: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/IDKHowToCodeFr/vera-engine/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/IDKHowToCodeFr/vera-engine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/IDKHowToCodeFr/vera-engine/resolve/main/Dockerfile
362 Bytes
| FROM python:3.10-slim | |
| # System setup | |
| RUN apt-get update && apt-get install -y procps zstd && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Environment Variables | |
| ENV PORT=8080 | |
| ENV PYTHONUNBUFFERED=1 | |
| EXPOSE 8080 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"] | |