Spaces:
Sleeping
Sleeping
Download Dockerfile from aaronthomas123/ice: direct link, hf CLI and curl.
- Browser
- Download file 279 Bytes
-
https://huggingface.co/spaces/aaronthomas123/ice/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aaronthomas123/ice/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aaronthomas123/ice/resolve/main/Dockerfile
279 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY requirements-api.txt ./ | |
| RUN pip install --no-cache-dir -r requirements-api.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "uvicorn api:app --host 0.0.0.0 --port ${PORT}"] | |