Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created October 13, 2025 12:37
Show Gist options
  • Select an option

  • Save gowatana/33da3a0e310f11dc32d26990ddc04593 to your computer and use it in GitHub Desktop.

Select an option

Save gowatana/33da3a0e310f11dc32d26990ddc04593 to your computer and use it in GitHub Desktop.
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"]
@gowatana
Copy link
Author

下記の投稿むけ。

NAI 2.4 の推論エンドポイントを利用するデモ アプリを作成してみる。
https://blog.ntnx.jp/entry/2025/10/13/235604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment