Spaces:
Runtime error
Runtime error
Download Dockerfile from TangibleAI/websocket: direct link, hf CLI and curl.
- Browser
- Download file 260 Bytes
-
https://huggingface.co/spaces/TangibleAI/websocket/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TangibleAI/websocket/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TangibleAI/websocket/resolve/main/Dockerfile
260 Bytes
| FROM python:3.9 | |
| WORKDIR /fastapi/app | |
| COPY ./requirements.txt /fastapi/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt | |
| COPY ./app /fastapi/app | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |