diff --git a/Dockerfile b/Dockerfile index 7439a70..74cac01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ COPY package.json ./ COPY index.js ./ ENV NODE_ENV=production +ENV APP_VERSION=v2 ENV PORT=3000 EXPOSE 3000 diff --git a/index.js b/index.js index db5506a..4288714 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ const server = http.createServer((req, res) => { res.writeHead(200, { 'Content-Type': 'application/json; charset=utf-8' }); res.end(JSON.stringify({ - message: 'Hello World from Gitea + Coolify!', + message: 'Hello World v2 from Gitea + Coolify!', version: VERSION, hostname: os.hostname(), startedAt,