Imageupscaler / Dockerfile
Akwbw's picture
Create Dockerfile
3893dea verified
raw
history blame contribute delete
335 Bytes
FROM python:3.10-slim
WORKDIR /app
# System dependencies
RUN apt-get update && apt-get install -y \
git \
ffmpeg \
libgl1 \
&& rm -rf /var/lib/apt/lists/*
# Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# App code
COPY app.py .
EXPOSE 7860
CMD ["python", "app.py"]