acc-test / Dockerfile
adAstra144's picture
Create Dockerfile
72a1358 verified
raw
history blame contribute delete
249 Bytes
FROM python:3.10
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
# Set Hugging Face cache directory to a writable location
ENV TRANSFORMERS_CACHE=/tmp/hf_cache
ENV HF_HOME=/tmp/hf_cache
CMD ["python", "app.py"]