Spaces:
Running
Running
FROM python:3.10-slim | |
# Set working directory | |
WORKDIR /app | |
# Copy files | |
COPY requirements.txt /app/requirements.txt | |
COPY app.py /app/app.py | |
COPY new_gradio_app.py /app/new_gradio_app.py | |
# Install dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Expose Gradio's default port | |
EXPOSE 7860 | |
# Run the main application | |
CMD ["python", "app.py"] |