mindchain commited on
Commit
8d0e5ce
·
verified ·
1 Parent(s): d9a11f8

Add Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ git \
5
+ git-lfs \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ WORKDIR /app
9
+
10
+ COPY requirements.txt .
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ COPY evaluate.py .
14
+
15
+ ENV HF_HOME=/app/.cache
16
+ ENV TRANSFORMERS_CACHE=/app/.cache
17
+
18
+ CMD ["python", "evaluate.py"]