diff --git a/Dockerfile b/Dockerfile
index b2dd9877465ba57955b5ea9614eef6bfa6056d2d..2aaacb123517632e9df3a56a40385810dd476456 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,10 @@
 FROM python:3.8
 WORKDIR /
 
+COPY pip.conf /etc/pip.conf
 RUN pip install --upgrade pip
 COPY requirements.txt ./
-RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
+RUN pip install -r requirements.txt
 
 COPY . .
 
diff --git a/pip.conf b/pip.conf
new file mode 100644
index 0000000000000000000000000000000000000000..48267b2f810ccaa0d8a284858595006eacbad8ed
--- /dev/null
+++ b/pip.conf
@@ -0,0 +1 @@
+[global] trusted-host=mirrors.aliyun.com index-url=http://mirrors.aliyun.com/pypi/simple
\ No newline at end of file