Spaces:
Sleeping
Sleeping
Download Dockerfile from V1ShAl1613/meta_2: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/V1ShAl1613/meta_2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/V1ShAl1613/meta_2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/V1ShAl1613/meta_2/resolve/main/Dockerfile
387 Bytes
| FROM public.ecr.aws/docker/library/python:3.12-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY env /app/env | |
| COPY server /app/server | |
| COPY inference.py /app/inference.py | |
| COPY openenv.yaml /app/openenv.yaml | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"] | |