srivatsavdamaraju commited on
Commit
2d3586a
1 Parent(s): 1e6188d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -13,6 +13,12 @@ RUN apt-get update && apt-get install -y \
13
  # Set the working directory in the container
14
  WORKDIR /app
15
 
 
 
 
 
 
 
16
  # Copy the current directory contents into the container at /app
17
  COPY . /app
18
 
 
13
  # Set the working directory in the container
14
  WORKDIR /app
15
 
16
+ # Create a new directory for Torch cache
17
+ RUN mkdir -p /app/.cache/torch
18
+
19
+ # Set environment variable to use the new cache location
20
+ ENV TORCH_HOME=/app/.cache/torch
21
+
22
  # Copy the current directory contents into the container at /app
23
  COPY . /app
24