Spaces:
Sleeping
Sleeping
Download Dockerfile from thisisgini/ecommerce-bot-v2: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/thisisgini/ecommerce-bot-v2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/thisisgini/ecommerce-bot-v2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/thisisgini/ecommerce-bot-v2/resolve/main/Dockerfile
339 Bytes
| FROM ghcr.io/meta-pytorch/openenv-base:latest | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY . /app | |
| RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \ | |
| /root/.local/bin/uv pip install --system fastapi uvicorn httpx openai openenv-core | |
| ENV PYTHONPATH="/app" | |
| EXPOSE 7860 | |
| # We use the new entry point | |
| CMD ["python3", "-m", "server.app"] |