CiscsoPonce commited on
Commit
2f9aa7d
·
1 Parent(s): 665dde7

Fix: Clean requirements and update Docker CMD to prevent exit 0

Browse files
Files changed (2) hide show
  1. Dockerfile +12 -6
  2. requirements.txt +9 -250
Dockerfile CHANGED
@@ -1,17 +1,23 @@
1
  # Use a lightweight Python version
2
  FROM python:3.11-slim
3
 
4
- # Set up the working directory
5
  WORKDIR /app
6
 
7
- # Copy the dependency list
 
 
 
8
  COPY requirements.txt .
9
 
10
- # Install the dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Copy all your code into the container
14
  COPY . .
15
 
16
- # Tell the container to listen on port 7860 (Hugging Face default)
17
- ENV PORT=7860
 
 
 
 
1
  # Use a lightweight Python version
2
  FROM python:3.11-slim
3
 
4
+ # Set working directory
5
  WORKDIR /app
6
 
7
+ # Install system tools (curl/git) just in case
8
+ RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
9
+
10
+ # Copy the clean requirements first
11
  COPY requirements.txt .
12
 
13
+ # Install dependencies
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
+ # Copy the rest of your app code
17
  COPY . .
18
 
19
+ # Expose the correct port for Hugging Face
20
+ EXPOSE 7860
21
+
22
+ # The Start Command (Using python -m is safer)
23
+ CMD ["python", "-m", "chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860", "--headless"]
requirements.txt CHANGED
@@ -1,250 +1,9 @@
1
- aiofiles==24.1.0
2
- aiohappyeyeballs==2.6.1
3
- aiohttp==3.13.3
4
- aiosignal==1.4.0
5
- annotated-doc==0.0.4
6
- annotated-types==0.7.0
7
- anthropic==0.79.0
8
- anyio==4.11.0
9
- argon2-cffi==25.1.0
10
- argon2-cffi-bindings==25.1.0
11
- arrow==1.4.0
12
- asttokens==3.0.1
13
- async-lru==2.0.5
14
- asyncer==0.0.13
15
- attrs==25.4.0
16
- babel==2.17.0
17
- beautifulsoup4==4.14.2
18
- bidict==0.23.1
19
- bleach==6.3.0
20
- certifi==2025.11.12
21
- cffi==2.0.0
22
- chainlit==2.9.6
23
- charset-normalizer==3.4.4
24
- chevron==0.14.0
25
- click==8.3.1
26
- colorama==0.4.6
27
- comm==0.2.3
28
- cryptography==46.0.5
29
- cuid==0.4
30
- curl_cffi==0.13.0
31
- dataclasses-json==0.6.7
32
- debugpy==1.8.17
33
- decorator==5.2.1
34
- defusedxml==0.7.1
35
- Deprecated==1.3.1
36
- distro==1.9.0
37
- docstring_parser==0.17.0
38
- duckduckgo_search==8.1.1
39
- executing==2.2.1
40
- fastapi==0.128.8
41
- fastjsonschema==2.21.2
42
- filelock==3.20.3
43
- filetype==1.2.0
44
- fqdn==1.5.1
45
- frozendict==2.4.7
46
- frozenlist==1.8.0
47
- fsspec==2026.2.0
48
- gitdb==4.0.12
49
- GitPython==3.1.45
50
- googleapis-common-protos==1.72.0
51
- greenlet==3.3.1
52
- grpcio==1.78.0
53
- h11==0.16.0
54
- hf-xet==1.2.0
55
- httpcore==1.0.9
56
- httpx==0.28.1
57
- httpx-sse==0.4.3
58
- huggingface_hub==1.4.1
59
- idna==3.11
60
- importlib_metadata==8.7.1
61
- inflection==0.5.1
62
- ipykernel==7.1.0
63
- ipython==9.7.0
64
- ipython_pygments_lexers==1.1.1
65
- isoduration==20.11.0
66
- jedi==0.19.2
67
- Jinja2==3.1.6
68
- jiter==0.13.0
69
- json5==0.12.1
70
- jsonpatch==1.33
71
- jsonpointer==3.0.0
72
- jsonschema==4.25.1
73
- jsonschema-specifications==2025.9.1
74
- jupyter-events==0.12.0
75
- jupyter-lsp==2.3.0
76
- jupyter-server-mathjax==0.2.6
77
- jupyter_client==8.6.3
78
- jupyter_core==5.9.1
79
- jupyter_server==2.17.0
80
- jupyter_server_terminals==0.5.3
81
- jupyterlab==4.5.0
82
- jupyterlab_git==0.51.2
83
- jupyterlab_pygments==0.3.0
84
- jupyterlab_server==2.28.0
85
- langchain-classic==1.0.1
86
- langchain-community==0.4.1
87
- langchain-core==1.2.9
88
- langchain-openai==1.1.8
89
- langchain-text-splitters==1.1.0
90
- langgraph==1.0.8
91
- langgraph-checkpoint==4.0.0
92
- langgraph-prebuilt==1.0.7
93
- langgraph-sdk==0.3.4
94
- langsmith==0.6.9
95
- lark==1.3.1
96
- Lazify==0.4.0
97
- literalai==0.1.201
98
- lxml==6.0.2
99
- markdown-it-py==4.0.0
100
- MarkupSafe==3.0.3
101
- marshmallow==3.26.2
102
- matplotlib-inline==0.2.1
103
- mcp==1.26.0
104
- mdurl==0.1.2
105
- mistune==3.1.4
106
- multidict==6.7.1
107
- multitasking==0.0.12
108
- mypy_extensions==1.1.0
109
- nbclient==0.10.2
110
- nbconvert==7.16.6
111
- nbdime==4.0.2
112
- nbformat==5.10.4
113
- nest-asyncio==1.6.0
114
- notebook_shim==0.2.4
115
- numpy==2.4.2
116
- openai==2.17.0
117
- opentelemetry-api==1.39.1
118
- opentelemetry-exporter-otlp-proto-common==1.39.1
119
- opentelemetry-exporter-otlp-proto-grpc==1.39.1
120
- opentelemetry-exporter-otlp-proto-http==1.39.1
121
- opentelemetry-instrumentation==0.60b1
122
- opentelemetry-instrumentation-agno==0.52.3
123
- opentelemetry-instrumentation-alephalpha==0.52.3
124
- opentelemetry-instrumentation-anthropic==0.52.3
125
- opentelemetry-instrumentation-bedrock==0.52.3
126
- opentelemetry-instrumentation-chromadb==0.52.3
127
- opentelemetry-instrumentation-cohere==0.52.3
128
- opentelemetry-instrumentation-crewai==0.52.3
129
- opentelemetry-instrumentation-google-generativeai==0.52.3
130
- opentelemetry-instrumentation-groq==0.52.3
131
- opentelemetry-instrumentation-haystack==0.52.3
132
- opentelemetry-instrumentation-lancedb==0.52.3
133
- opentelemetry-instrumentation-langchain==0.52.3
134
- opentelemetry-instrumentation-llamaindex==0.52.3
135
- opentelemetry-instrumentation-logging==0.60b1
136
- opentelemetry-instrumentation-marqo==0.52.3
137
- opentelemetry-instrumentation-mcp==0.52.3
138
- opentelemetry-instrumentation-milvus==0.52.3
139
- opentelemetry-instrumentation-mistralai==0.52.3
140
- opentelemetry-instrumentation-ollama==0.52.3
141
- opentelemetry-instrumentation-openai==0.52.3
142
- opentelemetry-instrumentation-openai-agents==0.52.3
143
- opentelemetry-instrumentation-pinecone==0.52.3
144
- opentelemetry-instrumentation-qdrant==0.52.3
145
- opentelemetry-instrumentation-redis==0.60b1
146
- opentelemetry-instrumentation-replicate==0.52.3
147
- opentelemetry-instrumentation-requests==0.60b1
148
- opentelemetry-instrumentation-sagemaker==0.52.3
149
- opentelemetry-instrumentation-sqlalchemy==0.60b1
150
- opentelemetry-instrumentation-threading==0.60b1
151
- opentelemetry-instrumentation-together==0.52.3
152
- opentelemetry-instrumentation-transformers==0.52.3
153
- opentelemetry-instrumentation-urllib3==0.60b1
154
- opentelemetry-instrumentation-vertexai==0.52.3
155
- opentelemetry-instrumentation-voyageai==0.52.3
156
- opentelemetry-instrumentation-watsonx==0.52.3
157
- opentelemetry-instrumentation-weaviate==0.52.3
158
- opentelemetry-instrumentation-writer==0.52.3
159
- opentelemetry-proto==1.39.1
160
- opentelemetry-sdk==1.39.1
161
- opentelemetry-semantic-conventions==0.60b1
162
- opentelemetry-semantic-conventions-ai==0.4.13
163
- opentelemetry-util-http==0.60b1
164
- orjson==3.11.7
165
- ormsgpack==1.12.2
166
- packaging==25.0
167
- pandas==3.0.0
168
- pandocfilters==1.5.1
169
- parso==0.8.5
170
- peewee==3.19.0
171
- pexpect==4.9.0
172
- platformdirs==4.5.0
173
- primp==0.15.0
174
- prometheus_client==0.23.1
175
- prompt_toolkit==3.0.52
176
- propcache==0.4.1
177
- protobuf==6.33.5
178
- psutil==7.1.3
179
- ptyprocess==0.7.0
180
- pure_eval==0.2.3
181
- pycparser==2.23
182
- pydantic==2.12.5
183
- pydantic-settings==2.12.0
184
- pydantic_core==2.41.5
185
- Pygments==2.19.2
186
- PyJWT==2.11.0
187
- python-dateutil==2.9.0.post0
188
- python-dotenv==1.2.1
189
- python-engineio==4.13.1
190
- python-json-logger==4.0.0
191
- python-multipart==0.0.22
192
- python-socketio==5.16.1
193
- pytz==2025.2
194
- PyYAML==6.0.3
195
- pyzmq==27.1.0
196
- referencing==0.37.0
197
- regex==2026.1.15
198
- requests==2.32.5
199
- requests-toolbelt==1.0.0
200
- rfc3339-validator==0.1.4
201
- rfc3986-validator==0.1.1
202
- rfc3987-syntax==1.1.0
203
- rich==14.3.2
204
- rpds-py==0.29.0
205
- Send2Trash==1.8.3
206
- setuptools==80.9.0
207
- shellingham==1.5.4
208
- simple-websocket==1.1.0
209
- six==1.17.0
210
- smmap==5.0.2
211
- sniffio==1.3.1
212
- soupsieve==2.8
213
- SQLAlchemy==2.0.46
214
- sse-starlette==3.2.0
215
- stack-data==0.6.3
216
- starlette==0.52.1
217
- syncer==2.0.3
218
- tenacity==9.1.4
219
- terminado==0.18.1
220
- tiktoken==0.12.0
221
- tinycss2==1.4.0
222
- tokenizers==0.22.2
223
- tomli==2.4.0
224
- tornado==6.5.2
225
- tqdm==4.67.3
226
- traceloop-sdk==0.52.3
227
- traitlets==5.14.3
228
- typer==0.23.0
229
- typer-slim==0.23.0
230
- typing-inspect==0.9.0
231
- typing-inspection==0.4.2
232
- typing_extensions==4.15.0
233
- tzdata==2025.2
234
- uri-template==1.3.0
235
- urllib3==2.5.0
236
- uuid_utils==0.14.0
237
- uvicorn==0.40.0
238
- watchfiles==1.1.1
239
- wcwidth==0.2.14
240
- webcolors==25.10.0
241
- webencodings==0.5.1
242
- websocket-client==1.9.0
243
- websockets==16.0
244
- wrapt==1.17.3
245
- wsproto==1.3.2
246
- xxhash==3.6.0
247
- yarl==1.22.0
248
- yfinance==1.1.0
249
- zipp==3.23.0
250
- zstandard==0.25.0
 
1
+ chainlit
2
+ langchain
3
+ langchain-community
4
+ langchain-core
5
+ langgraph
6
+ yfinance
7
+ duckduckgo-search
8
+ venice-py
9
+ openai