feat: 修改为实例dockerfile
This commit is contained in:
parent
33d98731d2
commit
66d0d683e8
1
.gitignore
vendored
1
.gitignore
vendored
@ -34,3 +34,4 @@ data.db
|
||||
config.yml
|
||||
tmp/
|
||||
__debug*
|
||||
Dockerfile
|
||||
|
9
Dockerfile.example
Normal file
9
Dockerfile.example
Normal file
@ -0,0 +1,9 @@
|
||||
# 基于 chromedp/headless-shell 基础镜像
|
||||
FROM chromedp/headless-shell:latest
|
||||
|
||||
# 安装 Noto 和 Noto CJK 字体
|
||||
RUN sed -i 's@http://deb.debian.org@http://mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/debian.sources \
|
||||
&& apt-get update -y \
|
||||
&& apt-get install -y fonts-noto fonts-noto-cjk fonts-noto fonts-noto-cjk fonts-roboto fonts-cantarell fonts-firacode fonts-droid-fallback fonts-dejavu-core fonts-oxygen fonts-liberation fonts-freefont-ttf fonts-cmu fonts-courier-prime fonts-comic-neue\
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/
|
Loading…
x
Reference in New Issue
Block a user