Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
74b7b8e7
Commit
74b7b8e7
authored
Dec 20, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字体-fxj
parent
6e33c068
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Dockerfile
yifu-social/yifu-social-biz/Dockerfile
+6
-7
simsun.ttc
yifu-social/yifu-social-biz/simsun.ttc
+0
-0
No files found.
yifu-social/yifu-social-biz/Dockerfile
View file @
74b7b8e7
FROM
moxm/java:1.8-full
RUN
mkdir
-p
/yifu-social-biz /usr/share/fonts/mswfonts
ADD
/usr/share/fonts/mswfonts/simsun.ttf /usr/share/fonts/mswfonts/
WORKDIR
/usr/share/fonts/mswfonts
RUN
fc-cache
-f
-v
RUN
mkdir
-p
/yifu-social-biz
WORKDIR
yifu-social-biz
...
...
@@ -14,6 +8,11 @@ ARG JAR_FILE=target/yifu-social-biz.jar
COPY
${JAR_FILE} app.jar
## 解决使用excel工具转png docker乱码没有宋体
RUN
set
-xe
&&
apk
--no-cache
add fontconfig
COPY
simsun.ttc /usr/share/fonts/
##end
EXPOSE
5002
ENV
TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
...
...
yifu-social/yifu-social-biz/simsun.ttc
0 → 100644
View file @
74b7b8e7
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment