18 lines
403 B
Docker
18 lines
403 B
Docker
|
#FROM python:3.8.13
|
||
|
FROM artifacts.iflytek.com/docker-private/atp/base_image_for_ailab:0.0.1
|
||
|
|
||
|
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||
|
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY . /app
|
||
|
|
||
|
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
|
||
|
RUN pip install -r requirements.txt
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
CMD ["python", "app.py"]
|