Spaces:
Running
Running
# syntax=docker/dockerfile:1 | |
FROM python:3.12-slim | |
# Set workdir | |
WORKDIR /app | |
# Upgrade pip | |
RUN pip install --upgrade pip | |
# Install dependencies | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Copy app code | |
COPY app.py ./ | |
# Expose MCP server port | |
EXPOSE 7860 | |
# Command to run the server with python directly | |
CMD ["python", "app.py"] |