Bot_uplod / Dockerfile
Jitendra55566's picture
Update Dockerfile
a1d8aeb verified
raw
history blame contribute delete
453 Bytes
FROM python:3.9
# Video Rendering ke liye FFmpeg install kar rahe hain
RUN apt-get update && \
apt-get install -y ffmpeg git && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Permissions set kar rahe hain taaki downloading/uploading mein error na aaye
RUN chmod 777 /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Hugging Face ke liye port 7860 khol rahe hain
EXPOSE 7860
CMD ["python", "main.py"]