MicroCore-Labs's picture
Upload Dockerfile with huggingface_hub
b132b0a verified
Raw
History Blame Contribute Delete
361 Bytes
FROM python:3.12-slim
WORKDIR /code
RUN apt-get update && apt-get install -y espeak-ng nodejs curl && rm -rf /var/lib/apt/lists/*
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN python3 -c "from spacy.cli import download; download('en_core_web_sm')"
COPY . .
CMD ["python3", "app.py"]