From 0bc49a862fa499c5d8dc21c2053a0b9ea02fe01c Mon Sep 17 00:00:00 2001 From: zgaetano Date: Tue, 31 Mar 2026 15:33:37 -0400 Subject: [PATCH] Add gateway-proxy/Dockerfile --- gateway-proxy/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gateway-proxy/Dockerfile diff --git a/gateway-proxy/Dockerfile b/gateway-proxy/Dockerfile new file mode 100644 index 0000000..a25a046 --- /dev/null +++ b/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"]