Juna190825 commited on
Commit
7b0ca78
·
verified ·
1 Parent(s): 9448d10

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ COPY app app/
9
+ COPY streamlit_app.py .
10
+
11
+ ENV OPENROUTER_API_KEY=your_openrouter_api_key_here
12
+
13
+ EXPOSE 7860
14
+
15
+ CMD uvicorn app.main:app --host 0.0.0.0 --port 7860 & streamlit run streamlit_app.py --server.port 7860 --server.address 0.0.0.0