CaffeinatedCoding commited on
Commit
c2fa6a6
·
verified ·
1 Parent(s): 9e94930

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ libgomp1 \
5
+ git \
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 src/ ./src/
14
+ COPY api/ ./api/
15
+ COPY app.py .
16
+ COPY start.sh .
17
+
18
+ RUN mkdir -p logs reports data
19
+
20
+ EXPOSE 7860
21
+
22
+ RUN chmod +x start.sh
23
+ CMD ["./start.sh"]