-
-
Save gowatana/33da3a0e310f11dc32d26990ddc04593 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY nai-demo.py . | |
| RUN useradd -m gradio && chown -R gradio:gradio /app | |
| USER gradio | |
| EXPOSE 5000 | |
| CMD ["python", "nai-demo.py"] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下記の投稿むけ。
NAI 2.4 の推論エンドポイントを利用するデモ アプリを作成してみる。
https://blog.ntnx.jp/entry/2025/10/13/235604