在RUN pip install --no-cache-dir -r requirements.txt那里下载TensorFlow等待了很久,不知道是文件太大还是有问题
# Use official Python image
FROM python:3.8
# Set working directory in the container
WORKDIR /app
# Copy project files into the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Set timezone to Beijing
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# Set entrypoint to the script
CMD ["bash", "run_prediction.sh"]
在RUN pip install --no-cache-dir -r requirements.txt那里下载TensorFlow等待了很久,不知道是文件太大还是有问题