Spaces:
Running
Running
Download train_server/Dockerfile from fantasyfish/dotdemo: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/spaces/fantasyfish/dotdemo/resolve/main/train_server/Dockerfile
- Command line
-
hf download hf://spaces/fantasyfish/dotdemo/train_server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fantasyfish/dotdemo/resolve/main/train_server/Dockerfile
374 Bytes
| # syntax=docker/dockerfile:1 | |
| FROM python:3.10-bullseye | |
| EXPOSE 8080-8081 | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip3 install -r requirements.txt && \ | |
| pip3 install flask | |
| RUN apt-get update && \ | |
| apt-get upgrade && \ | |
| apt-get install -y ffmpeg | |
| RUN pip3 install ffmpeg-python | |
| ENV RVCPATH=/third_party/RVC | |
| ENV PYTHONPATH=$PYTHONPATH:$RVCPATH | |
| CMD ["python3", "/app/server.py"] |