From 1416707293e47b7be730783e4540fb1c2111746d Mon Sep 17 00:00:00 2001 From: chenc <1458513@qq.com> Date: Fri, 18 Aug 2023 13:50:24 +0800 Subject: [PATCH] add nodejs --- .env.example | 2 +- nodejs/entrypoint.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 nodejs/entrypoint.sh diff --git a/.env.example b/.env.example index 339cac2..73a4247 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,6 @@ IMAGE_BASE=registry.cn-hangzhou.aliyuncs.com/aix_chenc ################ Elasticsearch ###################### -ELK_VERSION=7.17.7 +ELK_VERSION=7.17.10 ELASTICSEARCH_HOST_HTTP_PORT=9200 ################ KIBANA ###################### diff --git a/nodejs/entrypoint.sh b/nodejs/entrypoint.sh new file mode 100644 index 0000000..b72bf2c --- /dev/null +++ b/nodejs/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash +npm install +npm run production