Astheral / release_tools /Dockerfile
SEE7's picture
Publish release evaluation and inference tools
2b66baf verified
Raw History Blame Contribute Delete
340 Bytes
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"]