From eead48749050a1bc47c710acb8267211a387a85d Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Wed, 4 Jan 2023 18:28:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20Dockerfile=20?= =?UTF-8?q?=EF=BC=8C=E5=88=9B=E5=BB=BA=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ conf/app.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 63c438a8a..992e4b077 100644 --- a/Dockerfile +++ b/Dockerfile @@ -86,6 +86,8 @@ RUN apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone \ && apk del tzdata +COPY conf/app.yml /etc/kubepi/app.yml + COPY vimrc.local /etc/vim EXPOSE 80 diff --git a/conf/app.yml b/conf/app.yml index 3146c6f10..1fd66ce13 100644 --- a/conf/app.yml +++ b/conf/app.yml @@ -10,7 +10,7 @@ spec: certificate: certificateKey: db: - path: /var/lib/kubepi/db/kubepi.db + path: /var/lib/kubepi/db session: expires: 24 jwt: