mike23415 commited on
Commit
3acece3
·
verified ·
1 Parent(s): c774bcd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -9,18 +9,18 @@ RUN apt-get update && apt-get install -y \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Create writable cache directories
12
- RUN mkdir -p /tmp/transformers_cache /tmp/hf_home /tmp/cache /tmp/diffusers_cache && \
13
  chmod -R 777 /tmp
14
 
15
  # Copy requirements and install dependencies
16
  COPY requirements.txt .
17
- RUN pip install --no-cache-dir -r requirements.txt
 
18
 
19
  # Copy application code
20
  COPY app.py .
21
 
22
  # Set environment variables
23
- ENV TRANSFORMERS_CACHE=/tmp/transformers_cache
24
  ENV HF_HOME=/tmp/hf_home
25
  ENV XDG_CACHE_HOME=/tmp/cache
26
 
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Create writable cache directories
12
+ RUN mkdir -p /tmp/hf_home /tmp/cache /tmp/diffusers_cache && \
13
  chmod -R 777 /tmp
14
 
15
  # Copy requirements and install dependencies
16
  COPY requirements.txt .
17
+ RUN pip install --no-cache-dir -r requirements.txt \
18
+ && pip install --no-cache-dir git+https://github.com/sudo-ai/zero123plus.git
19
 
20
  # Copy application code
21
  COPY app.py .
22
 
23
  # Set environment variables
 
24
  ENV HF_HOME=/tmp/hf_home
25
  ENV XDG_CACHE_HOME=/tmp/cache
26