Thezchat / Dockerfile
THEZYZSTUDIO's picture
Upload 5 files
ffff7e2 verified
Raw
History Blame Contribute Delete
380 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY . .
# Create upload dirs
RUN mkdir -p uploads/videos uploads/images uploads/audio uploads/avatars static
# Expose port 7860 (Hugging Face default)
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]