fantasyfish's picture
Initial commit
b0c2db7
raw
history blame contribute delete
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"]