File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ FROM node:24-slim AS base
1818# RUN apt-get update && \
1919# apt-get install -y postgresql-client-18 && \
2020# rm -rf /var/lib/apt/lists/*
21+
22+ # # 安装字体
23+ # COPY src/app/(frontend)/fonts/PressStart2P-Regular.ttf /usr/share/fonts/truetype/
24+ # RUN fc-cache -f -v
2125# # ================== postgres client install end ==================
2226
2327# 基础环境
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ RUN curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmo
1818RUN apt-get update && \
1919 apt-get install -y postgresql-client-18 && \
2020 rm -rf /var/lib/apt/lists/*
21+
22+ # 安装字体
23+ COPY src/app/(frontend)/fonts/PressStart2P-Regular.ttf /usr/share/fonts/truetype/
24+ RUN fc-cache -f -v
2125# ================== postgres client install end ==================
2226
2327WORKDIR /app
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ RUN curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmo
1818RUN apt-get update && \
1919 apt-get install -y postgresql-client-18 && \
2020 rm -rf /var/lib/apt/lists/*
21+
22+ # 安装字体
23+ COPY src/app/(frontend)/fonts/PressStart2P-Regular.ttf /usr/share/fonts/truetype/
24+ RUN fc-cache -f -v
2125# ================== postgres client install end ==================
2226
2327WORKDIR /app
You can’t perform that action at this time.
0 commit comments