RegTech / Dockerfile
bardd's picture
Upload 49 files
a572e71 verified
raw
history blame contribute delete
619 Bytes
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# Install system dependencies and gemini-cli
RUN apt-get update \
&& apt-get install -y --no-install-recommends nodejs npm ca-certificates \
&& python3 -m pip install --no-cache-dir langsmith \
&& npm install -g @google/gemini-cli \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Copy server and pre-built static files
COPY server.py /app/server.py
COPY prompts /app/prompts
COPY static /app/static
EXPOSE 8080
ENV HOST=0.0.0.0
ENV PORT=8080
ENV GEMINI_CLI_BINARY=gemini
CMD ["python3", "server.py"]