Team Ai
Apppublic

9farccontioshi/TranscriptApi

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker2# you will also find guides on how best to write your Dockerfile3 4FROM python:3.95 6WORKDIR /code7 8COPY ./requirements.txt /code/requirements.txt9 10RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt11RUN apt update && apt install -y ffmpeg12 13RUN useradd -m -u 1000 user14USER user15ENV HOME=/home/user \16	PATH=/home/user/.local/bin:$PATH17 18WORKDIR $HOME/app19 20 21COPY --chown=user . $HOME/app22 23CMD ["python", "app.py"]