Colourize / trash /Dockerfile
dkescape's picture
Rename Dockerfile to trash/Dockerfile
1c9176b verified
raw
history blame contribute delete
375 Bytes
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy application files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir gradio modelscope gradio-imageslider opencv-python-headless
# Expose Gradio's default port
EXPOSE 7860
# Set environment variable for Gradio
ENV GRADIO_SERVER_NAME=0.0.0.0
# Run the application
CMD ["python", "app.py"]