Deploy bare minimum codebase for nsedash
Browse files- Dockerfile +9 -2
- requirements.txt +11 -307
Dockerfile
CHANGED
|
@@ -29,8 +29,15 @@ COPY requirements.txt /app/
|
|
| 29 |
# Note: we use torch CPU-only wheels and --no-deps to bypass version conflicts.
|
| 30 |
RUN pip install --no-cache-dir --no-deps --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 31 |
|
| 32 |
-
#
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
# Expose HF Spaces port
|
| 36 |
EXPOSE 7860
|
|
|
|
| 29 |
# Note: we use torch CPU-only wheels and --no-deps to bypass version conflicts.
|
| 30 |
RUN pip install --no-cache-dir --no-deps --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 31 |
|
| 32 |
+
# Create a user with UID 1000
|
| 33 |
+
RUN useradd -m -u 1000 user
|
| 34 |
+
ENV HOME=/home/user
|
| 35 |
+
|
| 36 |
+
# Copy application files and change ownership to user
|
| 37 |
+
COPY --chown=user . /app/
|
| 38 |
+
|
| 39 |
+
# Switch to the non-root user
|
| 40 |
+
USER user
|
| 41 |
|
| 42 |
# Expose HF Spaces port
|
| 43 |
EXPOSE 7860
|
requirements.txt
CHANGED
|
@@ -1,307 +1,11 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
appdirs==1.4.4
|
| 13 |
-
astor==0.8.1
|
| 14 |
-
asttokens==3.0.1
|
| 15 |
-
astunparse==1.6.3
|
| 16 |
-
attrs==25.4.0
|
| 17 |
-
babel==2.17.0
|
| 18 |
-
backoff==2.2.1
|
| 19 |
-
bcrypt==5.0.0
|
| 20 |
-
beautifulsoup4==4.14.3
|
| 21 |
-
blake3==1.0.8
|
| 22 |
-
blinker==1.9.0
|
| 23 |
-
build==1.5.0
|
| 24 |
-
cachetools==6.2.4
|
| 25 |
-
cbor2==5.7.1
|
| 26 |
-
certifi==2025.11.12
|
| 27 |
-
cffi==2.0.0
|
| 28 |
-
charset-normalizer==3.4.4
|
| 29 |
-
chromadb==1.1.1
|
| 30 |
-
click==8.3.1
|
| 31 |
-
cloudpickle==3.1.2
|
| 32 |
-
colorlog==6.10.1
|
| 33 |
-
comm==0.2.3
|
| 34 |
-
compressed-tensors==0.12.2
|
| 35 |
-
contourpy==1.3.3
|
| 36 |
-
cramjam==2.11.0
|
| 37 |
-
crewai==1.15.1
|
| 38 |
-
crewai-cli==1.15.1
|
| 39 |
-
crewai-core==1.15.1
|
| 40 |
-
cryptography==46.0.3
|
| 41 |
-
cuda-bindings==13.1.1
|
| 42 |
-
cuda-pathfinder==1.3.3
|
| 43 |
-
cuda-python==13.1.1
|
| 44 |
-
cupy-cuda12x==13.6.0
|
| 45 |
-
curl-cffi==0.13.0
|
| 46 |
-
cycler==0.12.1
|
| 47 |
-
debugpy==1.8.19
|
| 48 |
-
decorator==5.2.1
|
| 49 |
-
deprecation==2.1.0
|
| 50 |
-
depyf==0.20.0
|
| 51 |
-
dill==0.4.0
|
| 52 |
-
diskcache==5.6.3
|
| 53 |
-
distro==1.9.0
|
| 54 |
-
dnspython==2.8.0
|
| 55 |
-
docstring-parser==0.17.0
|
| 56 |
-
durationpy==0.10
|
| 57 |
-
einops==0.8.1
|
| 58 |
-
email-validator==2.3.0
|
| 59 |
-
et-xmlfile==2.0.0
|
| 60 |
-
executing==2.2.1
|
| 61 |
-
fastapi==0.128.0
|
| 62 |
-
fastapi-cli==0.0.20
|
| 63 |
-
fastapi-cloud-cli==0.8.0
|
| 64 |
-
fastparquet==2025.12.0
|
| 65 |
-
fastrlock==0.8.3
|
| 66 |
-
filelock==3.20.1
|
| 67 |
-
flashinfer-python==0.5.3
|
| 68 |
-
Flask==3.1.3
|
| 69 |
-
flatbuffers==25.12.19
|
| 70 |
-
fonttools==4.61.1
|
| 71 |
-
frozendict==2.4.7
|
| 72 |
-
frozenlist==1.8.0
|
| 73 |
-
fsspec==2025.12.0
|
| 74 |
-
gast==0.7.0
|
| 75 |
-
gguf==0.17.1
|
| 76 |
-
google-pasta==0.2.0
|
| 77 |
-
google-re2==1.1.20251105
|
| 78 |
-
googleapis-common-protos==1.75.0
|
| 79 |
-
greenlet==3.3.0
|
| 80 |
-
grpcio==1.76.0
|
| 81 |
-
h11==0.16.0
|
| 82 |
-
h5py==3.14.0
|
| 83 |
-
httpcore==1.0.9
|
| 84 |
-
httptools==0.7.1
|
| 85 |
-
httpx==0.28.1
|
| 86 |
-
httpx-sse==0.4.3
|
| 87 |
-
huggingface-hub==0.36.0
|
| 88 |
-
idna==3.11
|
| 89 |
-
ijson==3.4.0.post0
|
| 90 |
-
importlib-resources==7.1.0
|
| 91 |
-
instructor==1.15.4
|
| 92 |
-
interegular==0.3.3
|
| 93 |
-
ipykernel==7.1.0
|
| 94 |
-
ipython==9.8.0
|
| 95 |
-
ipython_pygments_lexers==1.1.1
|
| 96 |
-
itsdangerous==2.2.0
|
| 97 |
-
jedi==0.19.2
|
| 98 |
-
jinja2==3.1.6
|
| 99 |
-
jiter==0.12.0
|
| 100 |
-
jmespath==1.0.1
|
| 101 |
-
joblib==1.5.3
|
| 102 |
-
json-repair==0.25.3
|
| 103 |
-
json5==0.10.0
|
| 104 |
-
jsonpatch==1.33
|
| 105 |
-
jsonpointer==3.1.1
|
| 106 |
-
jsonref==1.1.0
|
| 107 |
-
jsonschema==4.25.1
|
| 108 |
-
jsonschema-specifications==2025.9.1
|
| 109 |
-
jupyter_client==8.7.0
|
| 110 |
-
jupyter_core==5.9.1
|
| 111 |
-
keras==3.13.0
|
| 112 |
-
kiwisolver==1.4.9
|
| 113 |
-
kubernetes==36.0.2
|
| 114 |
-
lancedb==0.30.0
|
| 115 |
-
langchain==1.3.11
|
| 116 |
-
langchain-core==1.4.8
|
| 117 |
-
langgraph==1.2.7
|
| 118 |
-
langgraph-checkpoint==4.1.1
|
| 119 |
-
langgraph-prebuilt==1.1.0
|
| 120 |
-
langgraph-sdk==0.4.2
|
| 121 |
-
langsmith==0.9.5
|
| 122 |
-
lark==1.2.2
|
| 123 |
-
linkify-it-py==2.1.0
|
| 124 |
-
llguidance==1.3.0
|
| 125 |
-
llvmlite==0.44.0
|
| 126 |
-
lm-format-enforcer==0.11.3
|
| 127 |
-
loguru==0.7.3
|
| 128 |
-
mako==1.3.10
|
| 129 |
-
markdown==3.10
|
| 130 |
-
markdown-it-py==4.0.0
|
| 131 |
-
markupsafe==3.0.3
|
| 132 |
-
matplotlib==3.10.8
|
| 133 |
-
matplotlib-inline==0.2.1
|
| 134 |
-
mcp==1.26.0
|
| 135 |
-
mdit-py-plugins==0.6.1
|
| 136 |
-
mdurl==0.1.2
|
| 137 |
-
mistral-common==1.8.8
|
| 138 |
-
ml-dtypes==0.5.4
|
| 139 |
-
mmh3==5.2.1
|
| 140 |
-
mpmath==1.3.0
|
| 141 |
-
msgpack==1.1.2
|
| 142 |
-
msgspec==0.20.0
|
| 143 |
-
multidict==6.7.0
|
| 144 |
-
multitasking==0.0.12
|
| 145 |
-
namex==0.1.0
|
| 146 |
-
nest-asyncio==1.6.0
|
| 147 |
-
networkx==3.6.1
|
| 148 |
-
ninja==1.13.0
|
| 149 |
-
numba==0.61.2
|
| 150 |
-
numpy==2.2.6
|
| 151 |
-
nvidia-cublas-cu12==12.8.4.1
|
| 152 |
-
nvidia-cuda-cupti-cu12==12.8.90
|
| 153 |
-
nvidia-cuda-nvcc-cu12==12.9.86
|
| 154 |
-
nvidia-cuda-nvrtc-cu12==12.8.93
|
| 155 |
-
nvidia-cuda-runtime-cu12==12.8.90
|
| 156 |
-
nvidia-cudnn-cu12==9.10.2.21
|
| 157 |
-
nvidia-cudnn-frontend==1.17.0
|
| 158 |
-
nvidia-cufft-cu12==11.3.3.83
|
| 159 |
-
nvidia-cufile-cu12==1.13.1.3
|
| 160 |
-
nvidia-curand-cu12==10.3.9.90
|
| 161 |
-
nvidia-cusolver-cu12==11.7.3.90
|
| 162 |
-
nvidia-cusparse-cu12==12.5.8.93
|
| 163 |
-
nvidia-cusparselt-cu12==0.7.1
|
| 164 |
-
nvidia-cutlass-dsl==4.3.4
|
| 165 |
-
nvidia-ml-py==13.590.44
|
| 166 |
-
nvidia-nccl-cu12==2.27.5
|
| 167 |
-
nvidia-nvjitlink-cu12==12.8.93
|
| 168 |
-
nvidia-nvshmem-cu12==3.3.20
|
| 169 |
-
nvidia-nvtx-cu12==12.8.90
|
| 170 |
-
oauthlib==3.3.1
|
| 171 |
-
onnxruntime==1.27.0
|
| 172 |
-
openai==2.44.0
|
| 173 |
-
openai-harmony==0.0.8
|
| 174 |
-
opencv-python-headless==4.12.0.88
|
| 175 |
-
openpyxl==3.1.5
|
| 176 |
-
opentelemetry-api==1.42.1
|
| 177 |
-
opentelemetry-exporter-otlp-proto-common==1.42.1
|
| 178 |
-
opentelemetry-exporter-otlp-proto-grpc==1.42.1
|
| 179 |
-
opentelemetry-exporter-otlp-proto-http==1.42.1
|
| 180 |
-
opentelemetry-proto==1.42.1
|
| 181 |
-
opentelemetry-sdk==1.42.1
|
| 182 |
-
opentelemetry-semantic-conventions==0.63b1
|
| 183 |
-
opt-einsum==3.4.0
|
| 184 |
-
optree==0.18.0
|
| 185 |
-
optuna==4.6.0
|
| 186 |
-
optuna-integration==4.6.0
|
| 187 |
-
orjson==3.11.9
|
| 188 |
-
ormsgpack==1.12.2
|
| 189 |
-
outlines-core==0.2.11
|
| 190 |
-
overrides==7.7.0
|
| 191 |
-
packaging==25.0
|
| 192 |
-
pandas==2.3.3
|
| 193 |
-
parso==0.8.5
|
| 194 |
-
partial-json-parser==0.2.1.1.post7
|
| 195 |
-
pdfminer-six==20260107
|
| 196 |
-
pdfplumber==0.11.10
|
| 197 |
-
peewee==3.18.3
|
| 198 |
-
pendulum==3.2.0
|
| 199 |
-
pexpect==4.9.0
|
| 200 |
-
pillow==12.3.0
|
| 201 |
-
platformdirs==4.5.1
|
| 202 |
-
portalocker==2.7.0
|
| 203 |
-
posthog==5.4.0
|
| 204 |
-
prometheus-client==0.23.1
|
| 205 |
-
prometheus-fastapi-instrumentator==7.1.0
|
| 206 |
-
prompt-toolkit==3.0.52
|
| 207 |
-
propcache==0.4.1
|
| 208 |
-
protobuf==6.33.2
|
| 209 |
-
psutil==7.2.1
|
| 210 |
-
ptyprocess==0.7.0
|
| 211 |
-
pure_eval==0.2.3
|
| 212 |
-
py-cpuinfo==9.0.0
|
| 213 |
-
pyarrow==24.0.0
|
| 214 |
-
pybase64==1.4.3
|
| 215 |
-
pycountry==24.6.1
|
| 216 |
-
pycparser==2.23
|
| 217 |
-
pydantic==2.12.5
|
| 218 |
-
pydantic-core==2.41.5
|
| 219 |
-
pydantic-extra-types==2.10.6
|
| 220 |
-
pydantic-settings==2.10.1
|
| 221 |
-
pygments==2.19.2
|
| 222 |
-
pyjwt==2.13.0
|
| 223 |
-
pyparsing==3.3.1
|
| 224 |
-
pypdfium2==5.11.0
|
| 225 |
-
pypika==0.51.1
|
| 226 |
-
pyproject-hooks==1.2.0
|
| 227 |
-
python-dateutil==2.9.0.post0
|
| 228 |
-
python-dotenv==1.2.2
|
| 229 |
-
python-json-logger==4.0.0
|
| 230 |
-
python-multipart==0.0.21
|
| 231 |
-
pytz==2025.2
|
| 232 |
-
pyyaml==6.0.3
|
| 233 |
-
pyzmq==27.1.0
|
| 234 |
-
ray==2.53.0
|
| 235 |
-
referencing==0.37.0
|
| 236 |
-
regex==2026.1.15
|
| 237 |
-
requests==2.32.5
|
| 238 |
-
requests-oauthlib==2.0.0
|
| 239 |
-
requests-toolbelt==1.0.0
|
| 240 |
-
rich==14.2.0
|
| 241 |
-
rich-toolkit==0.17.1
|
| 242 |
-
rignore==0.7.6
|
| 243 |
-
rpds-py==0.30.0
|
| 244 |
-
safetensors==0.7.0
|
| 245 |
-
scikit-learn==1.8.0
|
| 246 |
-
scipy==1.16.3
|
| 247 |
-
seaborn==0.13.2
|
| 248 |
-
sentencepiece==0.2.1
|
| 249 |
-
sentry-sdk==2.48.0
|
| 250 |
-
setproctitle==1.3.7
|
| 251 |
-
setuptools==80.9.0
|
| 252 |
-
shellingham==1.5.4
|
| 253 |
-
six==1.17.0
|
| 254 |
-
sniffio==1.3.1
|
| 255 |
-
soupsieve==2.8.1
|
| 256 |
-
sqlalchemy==2.0.45
|
| 257 |
-
sse-starlette==3.1.1
|
| 258 |
-
stack_data==0.6.3
|
| 259 |
-
starlette==0.50.0
|
| 260 |
-
supervisor==4.3.0
|
| 261 |
-
sympy==1.14.0
|
| 262 |
-
tabulate==0.9.0
|
| 263 |
-
tenacity==9.1.4
|
| 264 |
-
tensorboard==2.20.0
|
| 265 |
-
tensorboard-data-server==0.7.2
|
| 266 |
-
tensorflow==2.20.0
|
| 267 |
-
termcolor==3.3.0
|
| 268 |
-
textual==8.2.8
|
| 269 |
-
threadpoolctl==3.6.0
|
| 270 |
-
tiktoken==0.12.0
|
| 271 |
-
tkcalendar==1.6.1
|
| 272 |
-
tokenizers==0.22.1
|
| 273 |
-
tomli==2.0.2
|
| 274 |
-
tomli-w==1.1.0
|
| 275 |
-
torch==2.9.0
|
| 276 |
-
torchaudio==2.9.0
|
| 277 |
-
torchvision==0.24.0
|
| 278 |
-
tornado==6.5.4
|
| 279 |
-
tqdm==4.67.1
|
| 280 |
-
traitlets==5.14.3
|
| 281 |
-
transformers==4.57.3
|
| 282 |
-
triton==3.5.0
|
| 283 |
-
typer==0.21.0
|
| 284 |
-
typing-inspection==0.4.2
|
| 285 |
-
typing_extensions==4.15.0
|
| 286 |
-
tzdata==2025.3
|
| 287 |
-
uc-micro-py==2.0.0
|
| 288 |
-
urllib3==2.6.2
|
| 289 |
-
uuid-utils==0.16.2
|
| 290 |
-
uv==0.11.26
|
| 291 |
-
uvicorn==0.40.0
|
| 292 |
-
uvloop==0.22.1
|
| 293 |
-
vllm==0.13.0
|
| 294 |
-
watchfiles==1.1.1
|
| 295 |
-
wcwidth==0.2.14
|
| 296 |
-
websocket-client==1.9.0
|
| 297 |
-
websockets==15.0.1
|
| 298 |
-
Werkzeug==3.1.4
|
| 299 |
-
wrapt==2.0.1
|
| 300 |
-
xgrammar==0.1.27
|
| 301 |
-
xxhash==3.8.0
|
| 302 |
-
yarl==1.22.0
|
| 303 |
-
yfinance==1.0
|
| 304 |
-
zstandard==0.25.0
|
| 305 |
-
pyotp==2.10.0
|
| 306 |
-
qrcode==8.2
|
| 307 |
-
|
|
|
|
| 1 |
+
Flask>=3.1.3
|
| 2 |
+
pandas>=2.2.0
|
| 3 |
+
numpy>=1.24.0
|
| 4 |
+
pyarrow>=15.0.0
|
| 5 |
+
fastparquet>=2023.10.0
|
| 6 |
+
requests>=2.31.0
|
| 7 |
+
beautifulsoup4>=4.12.0
|
| 8 |
+
qrcode>=8.2
|
| 9 |
+
pyotp>=2.10.0
|
| 10 |
+
bcrypt>=4.0.0
|
| 11 |
+
huggingface-hub>=0.20.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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