2025-09-18 16:55:07 +08:00
|
|
|
FROM cr.metax-tech.com/public-library/maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64
|
2025-08-28 19:00:03 +08:00
|
|
|
|
|
|
|
|
RUN /opt/conda/bin/pip install funasr modelscope huggingface_hub
|
2025-08-29 10:48:15 +08:00
|
|
|
RUN /opt/conda/bin/pip install openai-whisper
|
2025-08-28 19:00:03 +08:00
|
|
|
|
2025-08-29 10:48:15 +08:00
|
|
|
# RUN chmod 1777 -R /tmp && apt update && apt install -y ffmpeg
|
2025-08-28 19:00:03 +08:00
|
|
|
|
|
|
|
|
WORKDIR /opt/app
|
|
|
|
|
COPY ./ ./
|
|
|
|
|
RUN /opt/conda/bin/pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
EXPOSE 80
|
2025-08-29 10:48:15 +08:00
|
|
|
ENTRYPOINT ["/opt/conda/bin/python3", "./test_funasr.py"]
|