vit-gpt2-image-captioning
Build-Deploy-Actions
Details
Build-Deploy-Actions
Details
This commit is contained in:
parent
9ae40643d6
commit
5170483b4c
|
@ -3,7 +3,8 @@ FROM artifacts.iflytek.com/docker-private/atp/base_image_for_ailab:0.0.1
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app
|
||||
|
||||
COPY requirements.txt /app
|
||||
|
||||
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
|
||||
RUN pip install -r requirements.txt
|
||||
|
@ -11,4 +12,6 @@ RUN pip install -r requirements.txt
|
|||
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
|
||||
|
||||
COPY . /app
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
|
|
Loading…
Reference in New Issue