Spaces:
Sleeping
Sleeping
Initial production deployment
Browse files- Dockerfile +17 -0
- requirements.txt +7 -2
Dockerfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /code
|
| 4 |
+
|
| 5 |
+
COPY requirements.txt .
|
| 6 |
+
|
| 7 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
+
|
| 9 |
+
COPY . .
|
| 10 |
+
|
| 11 |
+
ENV STREAMLIT_SERVER_PORT=7860
|
| 12 |
+
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
| 13 |
+
ENV STREAMLIT_SERVER_HEADLESS=true
|
| 14 |
+
|
| 15 |
+
EXPOSE 7860
|
| 16 |
+
|
| 17 |
+
CMD ["streamlit", "run", "app.py"]
|
requirements.txt
CHANGED
|
@@ -1,10 +1,15 @@
|
|
| 1 |
streamlit
|
| 2 |
-
|
|
|
|
|
|
|
| 3 |
google-genai
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
python-dotenv
|
| 5 |
fpdf2
|
| 6 |
markdown
|
| 7 |
-
supabase
|
| 8 |
bcrypt
|
| 9 |
genanki
|
| 10 |
gTTS
|
|
|
|
| 1 |
streamlit
|
| 2 |
+
supabase
|
| 3 |
+
groq
|
| 4 |
+
google-generativeai
|
| 5 |
google-genai
|
| 6 |
+
huggingface_hub
|
| 7 |
+
PyMuPDF
|
| 8 |
+
postgrest
|
| 9 |
+
uvloop
|
| 10 |
python-dotenv
|
| 11 |
fpdf2
|
| 12 |
markdown
|
|
|
|
| 13 |
bcrypt
|
| 14 |
genanki
|
| 15 |
gTTS
|