Sean Carnahan commited on
Commit
8ed1ab2
·
1 Parent(s): f02a6db

fix: add libglib2.0-0 for OpenCV system deps

Browse files
Files changed (1) hide show
  1. HF_Deploy/Dockerfile +14 -0
HF_Deploy/Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /code
4
+
5
+ RUN apt-get update && apt-get install -y libgl1 libglib2.0-0
6
+
7
+ COPY requirements.txt ./
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ COPY . .
11
+
12
+ ENV PORT=7860
13
+
14
+ CMD ["python", "app.py"]