Compare commits

...

4 Commits

Author SHA1 Message Date
5b67d8ce01 Update Dockerfile 2024-05-13 18:17:53 +08:00
d6acc01422 Update Dockerfile 2024-05-13 17:53:52 +08:00
f27abbd081 Update Dockerfile 2024-04-28 11:59:52 +08:00
fa1c872897 Create README.md 2024-04-23 14:46:49 +08:00
2 changed files with 9 additions and 1 deletions

8
README.md Normal file
View File

@@ -0,0 +1,8 @@
## wepush
## 打包
```
mvn clean package
```

View File

@@ -5,7 +5,7 @@ FROM openjdk:17-jdk-slim
WORKDIR /app
# 将构建生成的可执行jar包复制到容器内。假设jar包位于target/目录下并命名为wePush-1.0.0.jar。
COPY target/wePush-1.0.0.jar ./app.jar
COPY ../target/wePushApp-1.2.0.jar ./app.jar
# 配置容器启动时运行的命令这里用来启动Spring Boot应用。
# 使用非root用户运行Java应用是一个好的安全实践。