Elysiadev11 commited on
Commit
09ef1dd
·
verified ·
1 Parent(s): 55ca00f

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ ENV PYTHONUNBUFFERED=1
4
+
5
+ RUN pip install --no-cache-dir fastapi "uvicorn[standard]" httpx python-multipart tiktoken
6
+
7
+ WORKDIR /app
8
+
9
+ COPY app.py /app/app.py
10
+
11
+ EXPOSE 7860
12
+
13
+ CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]