File size: 278 Bytes
aa23652 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM python:3.11-slim-buster
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install torch --index-url https://download.pytorch.org/whl/cpu
# COPY model /app/model
COPY . .
EXPOSE 5000
CMD [ "python", "classifier_api.py" ] |