Spaces:
Runtime error
Runtime error
Download Dockerfile from FallnAI/Text-Generation-Inference-Server: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/FallnAI/Text-Generation-Inference-Server/resolve/6dacd617fae814b8d8fe79dd384e2102aacfffef/Dockerfile
- Command line
-
hf download hf://spaces/FallnAI/Text-Generation-Inference-Server@6dacd617fae814b8d8fe79dd384e2102aacfffef/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FallnAI/Text-Generation-Inference-Server/resolve/6dacd617fae814b8d8fe79dd384e2102aacfffef/Dockerfile
278 Bytes
| FROM huggingface/text-generation-inference:latest | |
| # Copy your app code | |
| COPY . /app | |
| # Install any necessary dependencies | |
| RUN pip install -r requirements.txt | |
| # Expose the port the app will run on | |
| EXPOSE 7860 | |
| # Start the app when the container launches | |
| CMD ["python", "app.py"] |