containeryard 0.3.5

Container Yard is a declarative, reproducible, and reusable decentralized approach for defining containers. Think Nix flakes meets Containerfiles (aka Dockerfiles).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04

RUN apt-get update && apt-get upgrade -y

RUN apt-get install -y python3 python3-pip python3-venv build-essential python3-dev

RUN ln -s /usr/bin/python3 /usr/bin/python

RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124

COPY project/requirements.txt /tmp/requirements.txt

RUN pip install -r /tmp/requirements.txt

WORKDIR /app