vit-gpt2-image-captioning/Dockerfile

12 lines
260 B
Docker
Raw Normal View History

2023-04-21 08:38:34 +00:00
#FROM python:3.8.13
FROM artifacts.iflytek.com/docker-private/atp/base_image_for_ailab:0.0.1
2023-04-21 04:52:56 +00:00
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"]