diff --git a/Dockerfile b/Dockerfile index 1caa9c5..5812ceb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,13 @@ # Stage 1: Build stage -FROM python:slim AS builder +FROM pytorch:slim AS builder WORKDIR /app COPY requirements.txt . -RUN apt-get update && apt-get install -y --no-install-recommends \ - gcc \ - libffi-dev \ - libssl-dev -RUN pip install triton -RUN pip install --no-cache-dir -r requirements.txt \ - && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends gcc libffi-dev libssl-dev + +RUN pip install --no-cache-dir -r requirements.txt && rm -rf /var/lib/apt/lists/* # Stage 2: Final stage FROM python:slim