Spaces:
Paused
Paused
alessandro trinca tornidor
[feat] use nvidia-smi, nvcc and python3 at runtime within entrypoint.sh
a170680
| FROM nvidia/cuda:12.0.0-runtime-ubuntu22.04 | |
| FROM nvcr.io/nvidia/pytorch:24.01-py3 | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN apt-get update && apt-get install --no-install-recommends -y \ | |
| build-essential \ | |
| python3.11 \ | |
| python3-pip \ | |
| git \ | |
| ffmpeg \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /workspace | |
| COPY scripts/entrypoint.sh /workspace/entrypoint.sh | |
| RUN chmod +x /workspace/entrypoint.sh | |
| CMD ["/workspace/entrypoint.sh"] | |