ViT-H-SAM/Dockerfile

18 lines
410 B
Docker
Raw Permalink Normal View History

2023-04-21 11:41:28 +00:00
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
2023-04-26 09:01:03 +00:00
COPY requirements.txt /app
2023-04-21 11:41:28 +00:00
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
RUN pip install -r requirements.txt
2023-04-26 08:45:53 +00:00
COPY . /app
2023-04-21 11:41:28 +00:00
CMD ["python", "app.py"]