test / Dockerfile
reidddd's picture
Upload folder using huggingface_hub
aa23652 verified
Raw History Blame Contribute Delete
278 Bytes
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" ]