mirror of
https://github.com/NVIDIA/dgx-spark-playbooks.git
synced 2026-04-22 18:13:52 +00:00
34 lines
1.3 KiB
Docker
34 lines
1.3 KiB
Docker
#
|
|
# SPDX-FileCopyrightText: Copyright (c) 1993-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
#
|
|
# Author: William Benton <wbenton@nvidia.com>
|
|
|
|
|
|
FROM nvidia/cuda:13.0.1-runtime-ubuntu24.04
|
|
|
|
RUN ldconfig
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
|
|
RUN mkdir /app
|
|
WORKDIR /app
|
|
|
|
RUN uv init --python 3.12 && uv venv && uv pip install "marimo==0.16.5" && uv pip install "jax[cuda13]==0.7.2" && uv pip install "numpy==2.3.3" && uv pip install "plotly==6.3.0" && uv pip install "opencv-python-headless==4.12.0.88" && uv pip install "tqdm==4.67.1"
|
|
|
|
COPY *.py *.mp4 /app
|
|
|
|
CMD ["sh", "-c", "uv run marimo edit 00-toc.py --host 0.0.0.0 --port 8080 --headless --no-token --no-sandbox"]
|