Hadiil commited on
Commit
b755f09
·
verified ·
1 Parent(s): 458fde5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,7 +7,7 @@ WORKDIR /app
7
  # Set environment variables
8
  ENV PYTHONUNBUFFERED=1 \
9
  PYTHONDONTWRITEBYTECODE=1 \
10
- TRANSFORMERS_CACHE=/tmp/huggingface_cache \
11
  UPLOAD_DIR=/tmp/uploads \
12
  PORT=7860
13
 
@@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y \
21
  && apt-get clean \
22
  && rm -rf /var/lib/apt/lists/*
23
 
24
- # Copy the requirements file (create this separately, see below)
25
  COPY requirements.txt .
26
 
27
  # Install Python dependencies
 
7
  # Set environment variables
8
  ENV PYTHONUNBUFFERED=1 \
9
  PYTHONDONTWRITEBYTECODE=1 \
10
+ HF_HOME=/tmp/huggingface_cache \
11
  UPLOAD_DIR=/tmp/uploads \
12
  PORT=7860
13
 
 
21
  && apt-get clean \
22
  && rm -rf /var/lib/apt/lists/*
23
 
24
+ # Copy the requirements file
25
  COPY requirements.txt .
26
 
27
  # Install Python dependencies