claims-env / server /Dockerfile
akhiilll's picture
Deploy ClaimSense adjudication gym
1cfeb15 verified
raw
history blame contribute delete
856 Bytes
# ClaimSense server-only container, layered on top of the OpenEnv base image.
# Used in multi-image setups where the gym is one of several environments.
ARG BASE_IMAGE=openenv-base:latest
FROM ${BASE_IMAGE}
# Install gym-specific dependencies (currently a no-op — kept for future use).
COPY claims_env/server/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt
# OpenEnv runtime sources live alongside the gym in the multi-image layout.
COPY src/openenv/core/ /app/src/openenv/core/
COPY claims_env/ /app/claims_env/
ENV PYTHONPATH=/app/src:/app
EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -fsS http://localhost:8000/health || exit 1
CMD ["uvicorn", "claims_env.server.app:app", "--host", "0.0.0.0", "--port", "8000"]