Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-qywx-self
Overview
Overview
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
haoban3.0
gic-qywx-self
Commits
547cf3f2
Commit
547cf3f2
authored
Nov 05, 2024
by
折木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dir
parent
70b0dd9a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
547cf3f2
...
...
@@ -15,7 +15,7 @@ ADD java.tar.gz /usr/local
RUN
echo
$PATH
RUN
java
-version
RUN
mkdir
-p
/mydata/wechat/qwimages/
COPY
./target/gic-qywx-self.jar
/usr/local/app
/gic-qywx-self.jar
COPY
./target/gic-qywx-self.jar
/mydata/wechat
/gic-qywx-self.jar
# 创建必要的目录结构和文件权限
RUN
mkdir
-p
/var/tmp/nginx/client
&&
\
mkdir
-p
/opt/settings
&&
\
...
...
@@ -23,4 +23,4 @@ RUN mkdir -p /var/tmp/nginx/client && \
echo
"env=PRO"
>
/opt/settings/server.properties
EXPOSE
8990
# 设置容器启动命令,运行 Jar 文件
ENTRYPOINT
["java", "-Xms256m", "-Xmx256m", "-jar", "
/usr/local/app
/gic-qywx-self.jar"]
ENTRYPOINT
["java", "-Xms256m", "-Xmx256m", "-jar", "
/mydata/wechat
/gic-qywx-self.jar"]
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