Skip to content

Commit aae849a

Browse files
committed
update: Dockerfile
1 parent bbfb56d commit aae849a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# 基础java镜像
1+
# basic Java image
22
FROM openjdk:8-alpine
33

4-
# 自定义环境变量
4+
# customize environment variables
55
ENV TITLE="kkbapps"
66

7-
# 将Java应用程序复制到目录
7+
# copy jar to directory
88
COPY terminal.jar /terminal.jar
99

10-
# 入口,java项目的启动命令
10+
# entrance, jar startup command
1111
ENTRYPOINT java -jar /terminal.jar --kk.title=$TITLE
1212

13-
# 添加镜像元数据
13+
# image meta
1414
LABEL org.opencontainers.image.authors="zyyzyykk@126.com"
1515
LABEL org.opencontainers.image.source="https://github.com/zyyzyykk/kkTerminal"
1616
LABEL org.opencontainers.image.licenses="Apache"

0 commit comments

Comments
 (0)