yeswanthvarma commited on
Commit
28c3b99
·
verified ·
1 Parent(s): 3ec911c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,4 +1,7 @@
1
  FROM python:3.10-slim
 
 
 
2
 
3
  # System dependencies for OpenCV
4
  RUN apt-get update && apt-get install -y \
@@ -6,6 +9,7 @@ RUN apt-get update && apt-get install -y \
6
  libglib2.0-0 \
7
  && rm -rf /var/lib/apt/lists/*
8
 
 
9
  # Set working directory
10
  WORKDIR /app
11
 
 
1
  FROM python:3.10-slim
2
+ ENV HF_HOME=/tmp/huggingface
3
+ ENV TRANSFORMERS_CACHE=/tmp/transformers
4
+ ENV TORCH_HOME=/tmp/torch
5
 
6
  # System dependencies for OpenCV
7
  RUN apt-get update && apt-get install -y \
 
9
  libglib2.0-0 \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
+
13
  # Set working directory
14
  WORKDIR /app
15