FROM python:3.10 WORKDIR /app RUN pip install --no-cache-dir torch torchvision torchaudio diffusers gradio RUN pip install -U diffusers RUN pip install git+https://github.com/huggingface/diffusers.git RUN pip install transformers RUN pip install accelerate RUN pip install huggingface_hub RUN pip install python-dotenv COPY . /app EXPOSE 7860 CMD ["python", "app.py"]