diff --git a/mcp-gateway/gateway-proxy/Dockerfile b/mcp-gateway/gateway-proxy/Dockerfile new file mode 100644 index 0000000..a25a046 --- /dev/null +++ b/mcp-gateway/gateway-proxy/Dockerfile @@ -0,0 +1,23 @@ +FROM python:3.12-slim-bookworm + +WORKDIR /app + +RUN pip install --no-cache-dir httpx uvicorn starlette python-multipart + +# Copy all gateway files +COPY gateway_proxy.py . +COPY user_management.py . +COPY user_routes.py . +COPY user_dashboard_ui.py . + +# Create persistent data directory for user storage +RUN mkdir -p /data + +ENV PORT=4444 + +EXPOSE 4444 + +HEALTHCHECK --interval=15s --timeout=5s --start-period=10s \ + CMD python3 -c "import urllib.request; urllib.request.urlopen('http://localhost:4444/health', timeout=5)" + +CMD ["python3", "gateway_proxy.py"]