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
a27a740e
Commit
a27a740e
authored
Dec 20, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字体-fxj
parent
20dc7e2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Dockerfile
yifu-social/yifu-social-biz/Dockerfile
+6
-3
No files found.
yifu-social/yifu-social-biz/Dockerfile
View file @
a27a740e
FROM
moxm/java:1.8-full
FROM
moxm/java:1.8-full
RUN
mkdir
-p
/yifu-social-biz /usr/share/fonts/mswfonts
\
RUN
mkdir
-p
/yifu-social-biz
&&
cp
/usr/share/fonts/mswfonts/simsun.ttf /usr/share/fonts/mswfonts
\
&&
fc-cache
-f
-v
WORKDIR
yifu-social-biz
WORKDIR
yifu-social-biz
...
@@ -10,6 +8,11 @@ ARG JAR_FILE=target/yifu-social-biz.jar
...
@@ -10,6 +8,11 @@ ARG JAR_FILE=target/yifu-social-biz.jar
COPY
${JAR_FILE} app.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
EXPOSE
5002
ENV
TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
ENV
TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
...
...
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