Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
shop-Mall
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
licc
shop-Mall
Commits
80e53610
Commit
80e53610
authored
Mar 05, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
cdbb3a3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+2
-2
pom.xml
wisenergy-web-admin/pom.xml
+1
-1
No files found.
Dockerfile
View file @
80e53610
...
...
@@ -5,7 +5,7 @@ VOLUME /opt
ARG
JAR_FILE
#ADD ./project-web-api/target/data-station.jar data-station.jar
COPY
./wisenergy-web-admin/target/shop-mall
-1.0.0-SNAPSHOT
.jar /opt/
COPY
./wisenergy-web-admin/target/shop-mall.jar /opt/
ADD
hosts /tmp
WORKDIR
/opt
...
...
@@ -14,6 +14,6 @@ ENV TZ=Asia/Shanghai
#ENV TZ=PRC
RUN
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
>
/etc/timezone
CMD
cat /tmp/hosts >> /etc/hosts
CMD
["java","-Djava.security.egd=file:/dev/./urandom","-
jar","shop-mall-1.0.0-SNAPSHOT
.jar"]
CMD
["java","-Djava.security.egd=file:/dev/./urandom","-
Dspring.profiles.active=test","-jar","shop-mall
.jar"]
#CMD cat /etc/hosts
#RUN/ENTRYPOINT/CMD nohup java -jar -Xmx512m -Xms512m -Xss256k -XX:MaxDirectMemorySize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1ReservePercent=25 -XX:InitiatingHeapOccupancyPercent=40 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom -Dserver.port=8090 data-station.jar > data-station.log 2>&1 &
\ No newline at end of file
wisenergy-web-admin/pom.xml
View file @
80e53610
...
...
@@ -44,7 +44,7 @@
<!-- MAVEN构建 -->
<build>
<finalName>
shop-mall
-${moduleVersion.wisenergy-web-admin}
</finalName>
<finalName>
shop-mall
</finalName>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
...
...
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