hanantonio commited on
Commit
c5ca763
·
verified ·
1 Parent(s): 005b49a

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -4,6 +4,11 @@ FROM python:3.10-slim
4
  # Set working directory
5
  WORKDIR /app
6
 
 
 
 
 
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y \
9
  build-essential \
 
4
  # Set working directory
5
  WORKDIR /app
6
 
7
+ ENV HF_HOME=/tmp/huggingface
8
+ ENV TRANSFORMERS_CACHE=/tmp/huggingface
9
+ ENV TORCH_HOME=/tmp/torch
10
+ ENV MPLCONFIGDIR=/tmp/matplotlib
11
+
12
  # Install system dependencies
13
  RUN apt-get update && apt-get install -y \
14
  build-essential \