drrobot9 commited on
Commit
501a498
·
verified ·
1 Parent(s): f9f449b

push updated backend changes and auto start buiding

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -3,6 +3,11 @@ FROM python:3.10-slim
3
  # Install system dependencies
4
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
5
 
 
 
 
 
 
6
  # Set working directory
7
  WORKDIR /app
8
 
 
3
  # Install system dependencies
4
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
5
 
6
+ # Set Hugging Face cache to a writable directory
7
+ ENV HF_HOME=/app/.cache/huggingface
8
+ ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/transformers
9
+ ENV HF_HUB_CACHE=/app/.cache/huggingface/hub
10
+
11
  # Set working directory
12
  WORKDIR /app
13