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