Dockerfile
This commit is contained in:
parent
4ebaac42f7
commit
cf52ea2544
12
Dockerfile
12
Dockerfile
@ -7,6 +7,18 @@ EXPOSE 9996
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# 安装字体和依赖
|
||||
RUN apt-get update && apt-get install -y \
|
||||
fonts-liberation \
|
||||
fonts-dejavu-core \
|
||||
fonts-wqy-zenhei \
|
||||
fontconfig \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 重建字体缓存
|
||||
RUN fc-cache -fv
|
||||
|
||||
# ¹¹½¨½×¶Î
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user