Add gateway-proxy/Dockerfile

This commit is contained in:
Zac Gaetano 2026-03-31 15:33:37 -04:00
parent 8b121c0c91
commit 0bc49a862f

23
gateway-proxy/Dockerfile Normal file
View file

@ -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"]