updated Dockerfile.local

This commit is contained in:
marvzhang
2019-12-16 11:20:27 +08:00
parent 377ada822a
commit 22a31646c0

View File

@@ -26,6 +26,9 @@ ADD . /app
# set as non-interactive
ENV DEBIAN_FRONTEND noninteractive
# set tmp folder privillege
RUN chmod -R /tmp
# install packages
RUN apt-get update \
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip \
@@ -36,7 +39,6 @@ RUN apt-get update \
RUN pip install scrapy pymongo bs4 requests -i https://pypi.tuna.tsinghua.edu.cn/simple
# copy backend files
COPY --from=backend-build /go/src/app .
COPY --from=backend-build /go/bin/crawlab /usr/local/bin
# install nginx