Spaces:
Sleeping
Sleeping
Download Dockerfile from AgentizedSolutions/webhook-bridge: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/spaces/AgentizedSolutions/webhook-bridge/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AgentizedSolutions/webhook-bridge/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AgentizedSolutions/webhook-bridge/resolve/main/Dockerfile
441 Bytes
| FROM python:3.9-slim | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| # 🔌 1. Явно кажемо Hugging Face, який порт слухати | |
| EXPOSE 7860 | |
| # 🚀 2. Запускаємо uvicorn напрямую через Docker-команду (замість python main.py) | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |