Fix error
parent
8b90ff7b28
commit
faf11dba41
|
|
@ -18,6 +18,7 @@ COPY requirements.txt .
|
||||||
# 安装系统依赖、Python依赖,然后清理(一个RUN命令减少层大小)
|
# 安装系统依赖、Python依赖,然后清理(一个RUN命令减少层大小)
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
gcc \
|
gcc \
|
||||||
|
curl \
|
||||||
default-libmysqlclient-dev \
|
default-libmysqlclient-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
&& pip install --index-url https://mirrors.aliyun.com/pypi/simple --no-cache-dir -r requirements.txt \
|
&& pip install --index-url https://mirrors.aliyun.com/pypi/simple --no-cache-dir -r requirements.txt \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue