修正docker镜像构建
This commit is contained in:
@@ -12,7 +12,7 @@ ENV PYTHONUNBUFFERED=1 \
|
||||
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
# 安装依赖
|
||||
COPY ./services/paddle_services/requestments.txt /app/requirements.txt
|
||||
COPY requestments.txt /app/requirements.txt
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone \
|
||||
&& pip install --no-cache-dir -r requirements.txt \
|
||||
&& pip uninstall -y onnxruntime onnxruntime-gpu \
|
||||
|
||||
Reference in New Issue
Block a user