Added ignore paths, reduced prod inference compose and Dockerfile complexity

This commit is contained in:
Viswamedha Nalabotu 2026-02-27 11:42:26 +00:00
parent b5f25411f2
commit 445227a7ef
3 changed files with 3 additions and 3 deletions

View file

@ -35,5 +35,7 @@ celerybeat-schedule
notebooks/ notebooks/
documents/ documents/
models/ models/
hf_cache/
xet/
eslint.config.mjs eslint.config.mjs
docs docs

View file

@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y python3.10 python3-pip && \
COPY --from=builder /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages COPY --from=builder /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
COPY --from=builder /usr/local/bin /usr/local/bin COPY --from=builder /usr/local/bin /usr/local/bin
COPY . . COPY gpu_server.py .
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/app ENV PYTHONPATH=/app

View file

@ -11,8 +11,6 @@ services:
- driver: nvidia - driver: nvidia
count: all count: all
capabilities: [gpu] capabilities: [gpu]
env_file:
- ../../.env
environment: environment:
- INFERENCE_HTTP_HOST=0.0.0.0 - INFERENCE_HTTP_HOST=0.0.0.0
- INFERENCE_HTTP_PORT=8001 - INFERENCE_HTTP_PORT=8001