Dockerfile•503 B
# Use official Python image
FROM python:3.11-slim
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
# Set work directory
WORKDIR /app
# Install dependencies
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
# Expose the default FastMCP port (can be changed if needed)
EXPOSE 8080
# Command to run the server. Assumes SLACK_BOT_TOKEN is provided via env or .env
CMD ["fastmcp", "run", "main.py", "-t", "sse"]