docker打包

master
潘啟华 5 years ago
parent 7bd1089818
commit 22f6819e54
  1. 6
      Dockerfile

@ -5,9 +5,7 @@ COPY . /usr/src/app/
RUN pip install --upgrade pip RUN pip install --upgrade pip
RUN pip install -r /usr/src/app/requirements.txt RUN pip install -r /usr/src/app/requirements.txt
WORKDIR /usr/src/app/ WORKDIR /usr/src/app/
COPY sources.list /etc/apt/
COPY config /etc/privoxy/
RUN apt-get update \ RUN apt-get update \
&& apt-get install privoxy \ && apt-get install privoxy
&& /etc/init.d/privoxy start COPY config /etc/privoxy/
CMD ["sh", "./run.sh"] CMD ["sh", "./run.sh"]

Loading…
Cancel
Save