webhook-bridge / Dockerfile
AgentizedSolutions's picture
Update Dockerfile
2af5dee verified
Raw History Blame Contribute Delete
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"]