Skip to content

Commit

Permalink
Merge pull request crawlab-team#437 from crawlab-team/develop
Browse files Browse the repository at this point in the history
fixed docker build error
  • Loading branch information
tikazyq authored Jan 7, 2020
2 parents 83773eb + 8219912 commit 93113fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /app

# install frontend
RUN npm config set unsafe-perm true
RUN npm install -g yarn && yarn install --registry=https://registry.npm.taobao.org # --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
RUN npm install -g yarn && yarn install

RUN npm run build:prod

Expand All @@ -37,7 +37,7 @@ RUN apt-get update \
&& ln -s /usr/bin/python3 /usr/local/bin/python

# install backend
RUN pip install scrapy pymongo bs4 requests -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install scrapy pymongo bs4 requests

# copy backend files
COPY --from=backend-build /go/bin/crawlab /usr/local/bin
Expand Down

0 comments on commit 93113fa

Please sign in to comment.