Delete Dockerfile
Browse files- Dockerfile +0 -34
Dockerfile
DELETED
|
@@ -1,34 +0,0 @@
|
|
| 1 |
-
# Use Python 3.13.2 slim image for efficiency
|
| 2 |
-
FROM python:3.13.2-slim
|
| 3 |
-
|
| 4 |
-
# Set working directory
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Set environment variables
|
| 8 |
-
ENV PYTHONUNBUFFERED=1
|
| 9 |
-
ENV PYTHONDONTWRITEBYTECODE=1
|
| 10 |
-
|
| 11 |
-
# Install system dependencies if needed
|
| 12 |
-
RUN apt-get update && apt-get install -y \
|
| 13 |
-
git \
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
-
|
| 16 |
-
# Copy requirements first to leverage Docker layer caching
|
| 17 |
-
COPY requirements.txt .
|
| 18 |
-
|
| 19 |
-
# Install Python dependencies
|
| 20 |
-
RUN pip install --no-cache-dir --upgrade pip && \
|
| 21 |
-
pip install --no-cache-dir -r requirements.txt
|
| 22 |
-
|
| 23 |
-
# Copy application files
|
| 24 |
-
COPY agent.py .
|
| 25 |
-
COPY app.py .
|
| 26 |
-
|
| 27 |
-
# Create directories that might be needed
|
| 28 |
-
RUN mkdir -p notebooks
|
| 29 |
-
|
| 30 |
-
# Expose the port that Gradio will run on
|
| 31 |
-
EXPOSE 7860
|
| 32 |
-
|
| 33 |
-
# Set the command to run the application
|
| 34 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|