From 22f6819e544fa062621f4de4908957397d29f73c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E5=95=9F=E5=8D=8E?= <1029559041@qq.com> Date: Fri, 6 Sep 2019 23:07:03 +0800 Subject: [PATCH] =?UTF-8?q?docker=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6d1403..dd23ab2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,7 @@ COPY . /usr/src/app/ RUN pip install --upgrade pip RUN pip install -r /usr/src/app/requirements.txt WORKDIR /usr/src/app/ -COPY sources.list /etc/apt/ -COPY config /etc/privoxy/ RUN apt-get update \ -&& apt-get install privoxy \ -&& /etc/init.d/privoxy start +&& apt-get install privoxy +COPY config /etc/privoxy/ CMD ["sh", "./run.sh"]