INDIAN_ART / Dockerfile
mehradity's picture
fix: Update cuda version
79d6b82
Raw
History Blame Contribute Delete
521 Bytes
FROM nvidia/cuda:12.1.0-cudnn8-runtime-ubuntu22.04
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3-pip \
python3-dev \
git \
wget \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Create directories
RUN mkdir -p outputs models
# Expose port
EXPOSE 7860
# Run
CMD ["python3", "app.py"]