File size: 419 Bytes
a7eb36a
 
 
 
 
 
 
 
 
 
 
7ee74f5
7e7ed21
930f348
2e9dd3f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04

RUN apt-get update && apt-get install -y python3 python3-pip git
RUN ln -s /usr/bin/python3 /usr/bin/python

WORKDIR /app
COPY . .

RUN pip install --upgrade pip
RUN pip install -r requirements.txt

RUN mkdir -p /.cache && chmod a+rwxt /.cache
RUN mkdir -p /.triton && chmod a+rwxt /.triton
RUN mkdir -p /.results && chmod a+rwxt /.results

CMD ["python", "train.py"]