humut commited on
Commit
e8dbeb7
·
verified ·
1 Parent(s): 55e8360

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+ WORKDIR /app
3
+ RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
4
+ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+ COPY app.py config.json /app/
8
+ EXPOSE 8000
9
+ CMD ["python", "app.py"]