Classifier-Docker / Dockerfile
win2win's picture
Update Dockerfile
5566679 verified
raw
history blame contribute delete
240 Bytes
FROM python:3.9-slim
# Create cache directory and set permissions
RUN mkdir -p /tmp/huggingface_cache && chmod 777 /tmp/huggingface_cache
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "app.py"]