mimipynb commited on
Commit
245cb2a
·
verified ·
1 Parent(s): 647cc01

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ RUN pip install fastapi uvicorn
3
+ COPY agent_server.py /app/agent_server.py
4
+ WORKDIR /app
5
+ EXPOSE 7860
6
+ CMD ["uvicorn", "agent_server:app", "--host", "0.0.0.0", "--port", "7860"]