Added ignore paths, reduced prod inference compose and Dockerfile complexity
This commit is contained in:
parent
b5f25411f2
commit
445227a7ef
3 changed files with 3 additions and 3 deletions
|
|
@ -35,5 +35,7 @@ celerybeat-schedule
|
|||
notebooks/
|
||||
documents/
|
||||
models/
|
||||
hf_cache/
|
||||
xet/
|
||||
eslint.config.mjs
|
||||
docs
|
||||
|
|
@ -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/bin /usr/local/bin
|
||||
|
||||
COPY . .
|
||||
COPY gpu_server.py .
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONPATH=/app
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ services:
|
|||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
env_file:
|
||||
- ../../.env
|
||||
environment:
|
||||
- INFERENCE_HTTP_HOST=0.0.0.0
|
||||
- INFERENCE_HTTP_PORT=8001
|
||||
|
|
|
|||
Loading…
Reference in a new issue