diff --git a/Dockerfile.local b/Dockerfile.local index ed4e7e96..eed02b65 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -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