Spaces:
Sleeping
Sleeping
Download mem0/embedchain/examples/api_server/Dockerfile from alrojas68/Embedchain: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/alrojas68/Embedchain/resolve/main/mem0/embedchain/examples/api_server/Dockerfile
- Command line
-
hf download hf://spaces/alrojas68/Embedchain/mem0/embedchain/examples/api_server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/alrojas68/Embedchain/resolve/main/mem0/embedchain/examples/api_server/Dockerfile
298 Bytes
| FROM python:3.11 AS backend | |
| WORKDIR /usr/src/api | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 5000 | |
| ENV FLASK_APP=api_server.py | |
| ENV FLASK_RUN_EXTRA_FILES=/usr/src/api/* | |
| ENV FLASK_ENV=development | |
| CMD ["flask", "run", "--host=0.0.0.0", "--reload"] | |