Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM python:3.6
FROM python:3.6-alpine
WORKDIR /app
COPY . .
# RUN pip install -r requirements.txt -i https://pypi.douban.com/simple
RUN pip install -r requirements.txt
RUN apk add --no-cache libxml2-dev libxslt-dev gcc musl-dev && \
pip install -r requirements.txt && \
apk del gcc musl-dev libxml2-dev
VOLUME ["/app/proxypool/crawlers/private"]
CMD ["supervisord", "-c", "supervisord.conf"]