Skip to content

Commit 3b98bcd

Browse files
committed
build: build docker
1 parent e725c63 commit 3b98bcd

File tree

4 files changed

+13
-20
lines changed

4 files changed

+13
-20
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ FROM eclipse-temurin:8-jdk-alpine
22
VOLUME /tmp
33
COPY target/javadochub.jar javadochub.jar
44
COPY src/main/resources/application.yaml application.yaml
5-
COPY bin/start.sh start.sh
6-
COPY bin/stop.sh stop.sh
5+
#COPY bin/start.sh start.sh
6+
#COPY bin/stop.sh stop.sh
77
ENTRYPOINT ["java", "-jar", "-Dspring.config.location=application.yaml", "/javadochub.jar"]

README.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ java -jar javadochub.jar
2828
访问
2929

3030
http://localhost:8086
31+
32+
=== docker
33+
34+
[source,shell]
35+
....
36+
docker build --platform linux/amd64 -t javadochub:f60ba70 .
37+
38+
....

docker-compose.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/modules/ROOT/examples/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ services:
1111
environment:
1212
# maven 公共仓库,必填,默认 https://repo.maven.apache.org/maven2
1313
javadochub.maven.repository: https://repo.maven.apache.org/maven2
14-
# maven 私有仓库,选填
14+
# maven 私有仓库,选填
1515
# javadochub.maven.internal:
16-
# 私有仓库私有包 group 前缀,填写私有仓库则必填此项,多个使用逗号分割
17-
# 例如 world.weibiansanjue,com.weibiansanjue
16+
# 私有仓库私有包 group 前缀,填写私有仓库则必填此项,多个使用逗号分割
17+
# 例如 world.weibiansanjue,com.weibiansanjue
1818
# javadochub.maven.internal-group-prefix:
1919

2020
volumes:

0 commit comments

Comments
 (0)