Spaces:
No application file
No application file
Download examples/rest-api/Dockerfile from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/examples/rest-api/Dockerfile
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/examples/rest-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/examples/rest-api/Dockerfile
232 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /app | |
| EXPOSE 8080 | |
| ENV NAME embedchain | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"] | |