Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
catlair committed May 5, 2021
1 parent a4fa83e commit df8b15d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ENTRYPOINT ["tini", "--"]
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

# 国内将第一行换成这两行
# RUN npm config set registry https://registry.npm.taobao.org \
# chown -R chrome ./ \
RUN chown -R chrome ./ \
&& cd ./builddir/ \
&& npm cache clean -f \
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.9'
services:
bili_task:
build: ..
image: catlair/bili-test-local-img
# image: catlair/bili-test-local-img
container_name: bili_task
volumes:
- ../config/:/usr/src/app/config/
Expand Down

0 comments on commit df8b15d

Please sign in to comment.