srivatsavdamaraju commited on
Commit
a837002
1 Parent(s): f12cf77

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,8 +5,8 @@ FROM python:3.9-slim
5
  ENV PYTHONDONTWRITEBYTECODE 1
6
  ENV PYTHONUNBUFFERED 1
7
 
8
- # Step 3: Set the environment variable for PyTorch cache
9
- ENV TORCH_HOME=/app/.cache
10
 
11
  # Step 4: Install system dependencies
12
  RUN apt-get update && apt-get install -y \
 
5
  ENV PYTHONDONTWRITEBYTECODE 1
6
  ENV PYTHONUNBUFFERED 1
7
 
8
+ # Step 3: Disable torch hub cache
9
+ ENV TORCH_HUB_NO_CACHE=1
10
 
11
  # Step 4: Install system dependencies
12
  RUN apt-get update && apt-get install -y \