From d192edc43893f0095e8aa2e9c268530ce7bdd55a Mon Sep 17 00:00:00 2001 From: Hiller Liao Date: Sun, 30 Jan 2022 16:17:25 +0800 Subject: [PATCH] add libxslt-dev --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ec5b59..6dea47f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,9 @@ COPY nginx.conf /etc/nginx/nginx.conf # 将本地目录下的内容拷贝到容器的app目录下 COPY . /app/ - + +RUN apk update +RUN apk add --no-cache gcc musl-dev libxml2 libxslt-dev # pip读取requirements.txt内容安装所需的库 RUN pip install -r /app/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple some-package --no-cache-dir