File size: 340 Bytes
033035d
 
 
 
 
 
 
1
2
3
4
5
6
7
8
FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends gcc libc6-dev
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN python -m pip install --no-cache-dir -r /app/requirements.txt
COPY inference.py /app/inference.py
ENTRYPOINT ["python", "/app/inference.py"]