Files
mcp-ics/pkg/Dockerfile
Julien Cabillot ee0d719142
All checks were successful
perso/mcp-ics/pipeline/head This commit looks good
feat: init
2026-03-15 19:35:49 -04:00

21 lines
484 B
Docker

FROM docker.io/library/python:3.14-slim
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
# Set the working directory in the container
WORKDIR /app
# Copy the requirements file into the container
COPY requirements.txt .
# Install dependencies using buildkit cache
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
# Copy the source code
COPY src/ ./src/
# Command to run the MCP server
CMD ["python", "src/server.py"]