生产配置
This commit is contained in:
parent
23a0a746e4
commit
34f7ddc4db
@ -8,13 +8,16 @@ ENV TZ=Asia/Shanghai
|
|||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
# 安装字体和依赖
|
# 安装字体和依赖
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN sed -i "s@deb.debian.org@mirrors.aliyun.com@g" /etc/apt/sources.list.d/debian.sources && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
fonts-liberation \
|
fonts-liberation \
|
||||||
fonts-dejavu-core \
|
fonts-dejavu-core \
|
||||||
fonts-wqy-zenhei \
|
fonts-wqy-zenhei \
|
||||||
fonts-wqy-microhei \
|
fonts-wqy-microhei \
|
||||||
fonts-noto-cjk \
|
fonts-noto-cjk \
|
||||||
fontconfig \
|
fontconfig \
|
||||||
|
curl \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,6 @@ Serve.Run(RunOptions.Default
|
|||||||
.ConfigureBuilder(builder =>
|
.ConfigureBuilder(builder =>
|
||||||
{
|
{
|
||||||
// 确保容器内绑定到所有IP,端口9996
|
// 确保容器内绑定到所有IP,端口9996
|
||||||
builder.WebHost.UseUrls("http://*:9996");
|
builder.WebHost.UseUrls("http://*:9997");
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user