* created Dockerfile and docker-compose.yml * Update docker-compose.yml * added docker instructions to readme
14 lines
278 B
Docker
14 lines
278 B
Docker
FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-devel
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install packages
|
|
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|