File size: 391 Bytes
f5ddca3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
FROM python:3.10
# Install potrace and other system dependencies
RUN apt-get update && apt-get install -y \
potrace \
&& rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /app
# Copy the application files
COPY . .
# Install Python dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Run the Gradio application
CMD ["python", "app.py"]
|