Skip to content

Commit 0e8ab63

Browse files
committed
docker add application.conf file
1 parent 8521392 commit 0e8ab63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
FROM eclipse-temurin:21-jdk-alpine
22
WORKDIR /server
33

4-
CMD ["/bin/bash", "bin/log-http-proxy"]
4+
CMD ["/bin/bash", "bin/log-http-proxy", "-Dconfig.file=/server/config/application.conf"]
55

66

77
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
88
&& echo "Asia/Shanghai" > /etc/timezone
99

1010
RUN apk update && apk add --no-cache bash
1111

12+
COPY ./src/main/resources/application.conf /server/config/
13+
1214
COPY ./target/universal/stage/ /server/

0 commit comments

Comments
 (0)