update ci

This commit is contained in:
felinae98
2021-06-17 11:13:49 +08:00
parent 286772a6db
commit 90d881a166
4 changed files with 49 additions and 20 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
FROM python:3.9
RUN echo "deb http://mirrors.aliyun.com/debian/ buster main contrib non-free\ndeb http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free" > /etc/apt/sources.list && \
apt-get update && apt-get install -y fonts-wqy-microhei chromium
RUN echo "deb http://mirrors.aliyun.com/debian/ buster main contrib non-free\ndeb http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free" > /etc/apt/sources.list
RUN apt-get update && apt-get install -y fonts-wqy-microhei chromium
RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
RUN python3 -m pip install poetry && poetry config virtualenvs.create false
WORKDIR /app