From 026a6e86db832243d624704491cf775bdc968cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=B7=A1=E5=BF=98=E4=B8=80=E5=88=87?= <7990497@qq.com> Date: Tue, 14 Nov 2023 12:04:05 +0800 Subject: [PATCH] =?UTF-8?q?Finish=20Task=20#4531=20Cost:4h=C2=A0=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=8D=E5=88=B6=E5=90=88=E5=90=8C=E5=BC=80?= =?UTF-8?q?=E7=A5=A8=E5=8D=95=E4=BD=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crm-internation/Dockerfile_test | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 crm-internation/Dockerfile_test diff --git a/crm-internation/Dockerfile_test b/crm-internation/Dockerfile_test new file mode 100644 index 0000000..753ecf5 --- /dev/null +++ b/crm-internation/Dockerfile_test @@ -0,0 +1,7 @@ +FROM openjdk:8u181-jre-alpine + +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone && apk add --no-cache curl +COPY ./target/crm-internation-0.0.1-SNAPSHOT.jar / +WORKDIR / +EXPOSE 8080 +CMD ["java","-jar","crm-internation-0.0.1-SNAPSHOT.jar"] \ No newline at end of file